зеркало из https://github.com/microsoft/git.git
Merge branch 'tb/complete-sequencing'
The bash completion script (in contrib/) learned a few options that "git revert" takes. * tb/complete-sequencing: completion: suggest sequencer commands for revert
This commit is contained in:
Коммит
e356158b4a
|
@ -2282,6 +2282,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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче