aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorPhilippe Blain <levraiphilippeblain@gmail.com>2023-05-22 19:28:58 +0000
committerJunio C Hamano <gitster@pobox.com>2023-05-23 17:21:47 +0900
commit1ef3c61b7889e2aa76a8f0d32a88fbc09fca3b8e (patch)
tree886b795bf0f55ec575c99b2ee1f4ed70fc47ac31 /contrib
parent6ec5f46071f793dbfa0915212b5708e2ce017053 (diff)
downloadgit-1ef3c61b7889e2aa76a8f0d32a88fbc09fca3b8e.tar.gz
completion: complete REVERT_HEAD and BISECT_HEAD
The pseudorefs REVERT_HEAD and BISECT_HEAD are not suggested by the __git_refs function. Add them there. Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-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 dc95c34cc8..bcda376735 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -767,7 +767,7 @@ __git_refs ()
track=""
;;
*)
- for i in HEAD FETCH_HEAD ORIG_HEAD MERGE_HEAD REBASE_HEAD CHERRY_PICK_HEAD; do
+ for i in HEAD FETCH_HEAD ORIG_HEAD MERGE_HEAD REBASE_HEAD CHERRY_PICK_HEAD REVERT_HEAD BISECT_HEAD; do
case "$i" in
$match*|$umatch*)
if [ -e "$dir/$i" ]; then