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/completion/git-completion.bash | |
| parent | 3c3e5d0ea2158bdc4f2244adff08504e50653d7c (diff) | |
| parent | c1ce9c06d0a0e8ad473bdbe800e8e089b8314e24 (diff) | |
| download | git-ef8f6210457a3af5a1c36ba066cb4f2b5a8529fa.tar.gz | |
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/completion/git-completion.bash')
| -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" |
