diff options
author | Philippe Blain <levraiphilippeblain@gmail.com> | 2023-05-22 22:28:58 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-05-23 11:21:47 +0300 |
commit | 1ef3c61b7889e2aa76a8f0d32a88fbc09fca3b8e (patch) | |
tree | 886b795bf0f55ec575c99b2ee1f4ed70fc47ac31 | |
parent | 6ec5f46071f793dbfa0915212b5708e2ce017053 (diff) |
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>
-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 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 |