提交 956352b6 编写于 作者: T Thomas Braun 提交者: Junio C Hamano

completion: suggest sequencer commands for revert

Signed-off-by: NThomas Braun <thomas.braun@virtuell-zuhause.de>
Acked-by: NRamkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 3d4a3ffe
...@@ -2292,6 +2292,11 @@ _git_reset () ...@@ -2292,6 +2292,11 @@ _git_reset ()
_git_revert () _git_revert ()
{ {
local dir="$(__gitdir)"
if [ -f "$dir"/REVERT_HEAD ]; then
__gitcomp "--continue --quit --abort"
return
fi
case "$cur" in case "$cur" in
--*) --*)
__gitcomp "--edit --mainline --no-edit --no-commit --signoff" __gitcomp "--edit --mainline --no-edit --no-commit --signoff"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册