mirror of
https://github.com/git/git
synced 2024-10-03 23:29:36 +00:00
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=}"
|
__gitcomp "$__git_whitespacelist" "" "${cur##--whitespace=}"
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
--onto=*)
|
||||||
|
__git_complete_refs --cur="${cur##--onto=}"
|
||||||
|
return
|
||||||
|
;;
|
||||||
--*)
|
--*)
|
||||||
__gitcomp_builtin rebase "" \
|
__gitcomp_builtin rebase "" \
|
||||||
"$__git_rebase_interactive_inprogress_options"
|
"$__git_rebase_interactive_inprogress_options"
|
||||||
|
|
Loading…
Reference in a new issue