Re: [PATCH 2/2] branch: let branch filters imply --list

2013-01-31 Thread Junio C Hamano
Peter Wu writes: > One note, the following command spits out master without complaining about > the > non-existing branch name: > > git branch --contains master > > (the order of branches doesn't affect the result.) That is perfectly normal. What you gave after "--contains " are *not* b

Re: [PATCH 2/2] branch: let branch filters imply --list

2013-01-31 Thread Peter Wu
On Thursday 31 January 2013 01:46:11 Jeff King wrote: > Currently, a branch filter like `--contains`, `--merged`, or > `--no-merged` is ignored when we are not in listing mode. > For example: > > git branch --contains=foo bar > > will create the branch "bar" from the current HEAD, ignoring > th