Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-12-01 20:04:37 +0300
committerJunio C Hamano <gitster@pobox.com>2019-12-01 20:04:37 +0300
commitef8f6210457a3af5a1c36ba066cb4f2b5a8529fa (patch)
treed97f7682059e643e6347d61fa249d76cbac1e266 /contrib
parent3c3e5d0ea2158bdc4f2244adff08504e50653d7c (diff)
parentc1ce9c06d0a0e8ad473bdbe800e8e089b8314e24 (diff)
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.bash4
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"