diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-12-19 14:45:35 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-12-19 14:45:35 -0800 |
commit | 06cd5a1e01328724b7709ac232e36263e59f5f26 (patch) | |
tree | cd234c23f5d18c2e60ea61b33f1a6b98c08d8619 /contrib/completion | |
parent | Merge branch 'jk/trailers-placeholder-in-pretty' (diff) | |
parent | rebase: add --quit to cleanup rebase, leave everything else untouched (diff) | |
download | tgif-06cd5a1e01328724b7709ac232e36263e59f5f26.tar.xz |
Merge branch 'nd/rebase-forget'
"git rebase" learned "--quit" option, which allows a user to
remove the metadata left by an earlier "git rebase" that was
manually aborted without using "git rebase --abort".
* nd/rebase-forget:
rebase: add --quit to cleanup rebase, leave everything else untouched
Diffstat (limited to 'contrib/completion')
-rw-r--r-- | contrib/completion/git-completion.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 21016bf8df..78fe5b7f5c 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1734,10 +1734,10 @@ _git_rebase () { local dir="$(__gitdir)" if [ -f "$dir"/rebase-merge/interactive ]; then - __gitcomp "--continue --skip --abort --edit-todo" + __gitcomp "--continue --skip --abort --quit --edit-todo" return elif [ -d "$dir"/rebase-apply ] || [ -d "$dir"/rebase-merge ]; then - __gitcomp "--continue --skip --abort" + __gitcomp "--continue --skip --abort --quit" return fi __git_complete_strategy && return |