diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-07-08 17:55:47 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-09 02:12:24 -0700 |
commit | 049716b370f2cebdbdeb278eb2a8c4eff8ed0acd (patch) | |
tree | ce392fdd134fc4b4b5257c5f6aa2922a0074db0a /diffcore-pickaxe.c | |
parent | branch --contains: default to HEAD (diff) | |
download | tgif-049716b370f2cebdbdeb278eb2a8c4eff8ed0acd.tar.xz |
branch --merged/--no-merged: allow specifying arbitrary commit
"git-branch --merged" is a handy way to list all the branches that have
already been merged to the current branch, but it did not allow checking
against anything but the current branch. Having to switch branches only
to list the branches that are merged with another branch made the feature
practically useless.
This updates the option parser so that "git branch --merged next" is
accepted when you are on 'master' branch.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-pickaxe.c')
0 files changed, 0 insertions, 0 deletions