diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-04-15 23:36:01 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-15 23:36:01 +0300 |
commit | b98db1dd7002f52f3b61b7487dde7043e740ad8a (patch) | |
tree | e22918db0600e48c07b47a42072f0585520eedf6 /contrib | |
parent | 771c758e8a89d4d7aa482e7f98d8878214630301 (diff) | |
parent | 3994ae510ea8f828a1175392e85d387fe0e77682 (diff) |
Merge branch 'ab/complete-cherry-pick-head'
The command line completion (in contrib/) has learned that
CHERRY_PICK_HEAD is a possible pseudo-ref.
* ab/complete-cherry-pick-head:
bash completion: complete CHERRY_PICK_HEAD
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/completion/git-completion.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 29b859a0b8..dfa735ea62 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -744,7 +744,7 @@ __git_refs () track="" ;; *) - for i in HEAD FETCH_HEAD ORIG_HEAD MERGE_HEAD REBASE_HEAD; do + for i in HEAD FETCH_HEAD ORIG_HEAD MERGE_HEAD REBASE_HEAD CHERRY_PICK_HEAD; do case "$i" in $match*) if [ -e "$dir/$i" ]; then |