Merge branch 'dl/complete-rebase-onto'
The completion script (in contrib/) learned that the "--onto" option of "git rebase" can take its argument as the value of the option. * dl/complete-rebase-onto: completion: learn to complete `git rebase --onto=`
This commit is contained in:
commit
ef8f621045
@ -2043,6 +2043,10 @@ _git_rebase ()
|
||||
__gitcomp "$__git_whitespacelist" "" "${cur##--whitespace=}"
|
||||
return
|
||||
;;
|
||||
--onto=*)
|
||||
__git_complete_refs --cur="${cur##--onto=}"
|
||||
return
|
||||
;;
|
||||
--*)
|
||||
__gitcomp_builtin rebase "" \
|
||||
"$__git_rebase_interactive_inprogress_options"
|
||||
|
Loading…
Reference in New Issue
Block a user