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:
commit
e356158b4a
@ -2282,6 +2282,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"
|
||||||
|
Loading…
Reference in New Issue
Block a user