diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-12-01 09:04:37 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-01 09:04:37 -0800 |
commit | ef8f6210457a3af5a1c36ba066cb4f2b5a8529fa (patch) | |
tree | d97f7682059e643e6347d61fa249d76cbac1e266 /contrib | |
parent | Merge branch 'tg/stash-refresh-index' (diff) | |
parent | completion: learn to complete `git rebase --onto=` (diff) | |
download | tgif-ef8f6210457a3af5a1c36ba066cb4f2b5a8529fa.tar.xz |
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=`
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/completion/git-completion.bash | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 47c551091f..ba5528d174 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -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" |