cmcculloh/GitScripts — Issue #53: contains.sh wearisomely confusing when there are no results
Author: chriscorwin
Created: 2012-01-18 17:58:39+00:00
State: open

When you run ```contains```, if there are `0` branches returned as `contains` but there are a whole bunch returned as `not contains`, the output is confusing, and worrisome, because it looks like there's a *whole bunch* of `contains`.

Example
------------

```

csc@9826-csc Wed Jan 18 12:46:28 ~/Development/workspaces/ubuntu_galileo_workspace/finishline
CHG62324---add-deal-promo-sales-text-to-detail-page-mini-cart-cart
$ contains

####################################################################################
Running contains on: CHG62324---add-deal-promo-sales-text-to-detail-page-mini-cart-cart
####################################################################################

The following branches contain the lateset version of CHG62324---add-deal-promo-sales-text-to-detail-page-mini-cart-cart
* CHG62324---add-deal-promo-sales-text-to-detail-page-mini-cart-cart

the following branches do not contain the latest version of CHG62324---add-deal-promo-sales-text-to-detail-page-mini-cart-cart
------------------------------------------------------------------------------------
CHG53511---Add-Quick-Looks-to-UI-for-Tealeaf
CHG59284---restrict-use-of-po-box-on-web-for-shipping-address
CHG61407---remove-inactive-promo-files
CHG62140---winners-circle-balance---change-display-to-whole-number
CHG63549---update-foresee-code
CHG64001---allow-customer-to-dynamically-choose-number-of-items-on-grid-page
CHG64670---turn-maximyser-back-on-in-prod
CHG64693---revert-cart-page-promo-back-to-wc
DEF64403---grid-page-reflections-are-backwards-in-chrome
PRM64159---due-1-16---push-adidas-microsite-changes-to-prod
PRM64651---recreate-giftcards-page
PRM64683---push-latest-rounds-of-adidas-updates-2012-01-17
fake-new-branch
master
qa
stage
temp-giftcards-exploration
------------------------------------------------------------------------------------
```