diff options
author | Thomas Braun <thomas.braun@virtuell-zuhause.de> | 2015-05-25 11:59:35 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-01 08:41:47 -0700 |
commit | 956352b67e1abea342ba7468ac4708ad3ab9970e (patch) | |
tree | d11f64b2462955e9abcbf68ff340233e832b9c0a /contrib | |
parent | 3d4a3ffe64162b45ae7c991fc60623ecb4678cfd (diff) | |
download | git-956352b67e1abea342ba7468ac4708ad3ab9970e.tar.gz |
completion: suggest sequencer commands for reverttb/complete-sequencing
Signed-off-by: Thomas Braun <thomas.braun@virtuell-zuhause.de>
Acked-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/completion/git-completion.bash | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 5944c824ab..83f90a048c 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -2292,6 +2292,11 @@ _git_reset () _git_revert () { + local dir="$(__gitdir)" + if [ -f "$dir"/REVERT_HEAD ]; then + __gitcomp "--continue --quit --abort" + return + fi case "$cur" in --*) __gitcomp "--edit --mainline --no-edit --no-commit --signoff" |