The git branch --list --contains x y command lists
all branches that contains commit x and matches the
pattern y. Reading the git-branch(1) manual page gives
the impression that --list is redundant, and that
you can instead write
git branch --contains x y
That command does something
On Thu, Feb 21, 2013 at 02:00:27PM +0100, Per Cederqvist wrote:
That command does something completely different,
though. The --contains x part is silently ignored,
so it creates a branch named y pointing at HEAD.
Tested in git 1.8.1.1 and 1.8.1.4.
In my opinion, there are two ways to
On 02/21/13 16:58, Jeff King wrote:
On Thu, Feb 21, 2013 at 02:00:27PM +0100, Per Cederqvist wrote:
That command does something completely different,
though. The --contains x part is silently ignored,
so it creates a branch named y pointing at HEAD.
Tested in git 1.8.1.1 and 1.8.1.4.
In my
Per Cederqvist ced...@opera.com writes:
On 02/21/13 16:58, Jeff King wrote:
On Thu, Feb 21, 2013 at 02:00:27PM +0100, Per Cederqvist wrote:
That command does something completely different,
though. The --contains x part is silently ignored,
so it creates a branch named y pointing at HEAD.
4 matches
Mail list logo