Re: [PATCH 0/2] improve "git branch --contains= "

2013-01-31 Thread Junio C Hamano
Jeff King writes: > That being said, we could be much more helpful. It seems like --contains > should imply listing mode, since it is nonsensical in other modes. The > second patch below adjusts that, and makes the command above do what you > expect. > > [1/2]: docs: clarify git-branch --list b

[PATCH 0/2] improve "git branch --contains= "

2013-01-30 Thread Jeff King
On Wed, Jan 30, 2013 at 07:57:03PM +0100, Peter Wu wrote: > Hi, > > I was trying to check whether a certain branch contained a commit and ran: > > git branch --contains ddc150f7a33ae0c9cb16eaac3641abc00f56316f master > > This resulted in: > > fatal: A branch named 'master' already exi