summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-04-15 20:36:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-04-15 20:36:01 (GMT)
commitb98db1dd7002f52f3b61b7487dde7043e740ad8a (patch)
treee22918db0600e48c07b47a42072f0585520eedf6 /contrib/completion
parent771c758e8a89d4d7aa482e7f98d8878214630301 (diff)
parent3994ae510ea8f828a1175392e85d387fe0e77682 (diff)
downloadgit-b98db1dd7002f52f3b61b7487dde7043e740ad8a.zip
git-b98db1dd7002f52f3b61b7487dde7043e740ad8a.tar.gz
git-b98db1dd7002f52f3b61b7487dde7043e740ad8a.tar.bz2
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/completion')
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 29b859a..dfa735e 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