completion: complete AUTO_MERGE

The pseudoref AUTO_MERGE is documented since the previous commit. To make it easier to use, let __git_refs in the Bash completion code complete it. Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Philippe Blain committed May 22, 2023 at 19:29 UTC 982ff3a649221d9db79049e5823425f645b3228e
1 file changed +1 -1
contrib/completion/git-completion.bash
+1 -1
@@ -767,7 +767,7 @@ __git_refs ()
767 track=""
768 ;;
769 *)
770 - for i in HEAD FETCH_HEAD ORIG_HEAD MERGE_HEAD REBASE_HEAD CHERRY_PICK_HEAD REVERT_HEAD BISECT_HEAD; do
770 + for i in HEAD FETCH_HEAD ORIG_HEAD MERGE_HEAD REBASE_HEAD CHERRY_PICK_HEAD REVERT_HEAD BISECT_HEAD AUTO_MERGE; do
771 case "$i" in
772 $match*|$umatch*)
773 if [ -e "$dir/$i" ]; then