[PATCH] bash: support branch's new '--merged' and '--unmerged' options
- From
SZEDER Gábor <szeder@ira.uka.de>
- Date
- Apr 17, 2008, 11:34 UTC
- Message-ID
- <1208432040-26271-1-git-send-email-szeder@ira.uka.de>
- In-Reply-To
- <12084250231245-git-send-email-hjemli@gmail.com>
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> ---
> These options filter the output from git branch to only include branches > whose tip is either merged or not merged into HEAD.
I really like the idea, thanks! How about making it easier to type?
contrib/completion/git-completion.bash | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 4d81963..c44f9f4 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -543,7 +543,7 @@ _git_branch () --*) __gitcomp " --color --no-color --verbose --abbrev= --no-abbrev - --track --no-track + --track --no-track --merged --unmerged " ;; *)
-- 1.5.5.90.g17e355