diff options
author | Philippe Blain <levraiphilippeblain@gmail.com> | 2023-05-22 21:29:01 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-05-23 10:21:47 +0200 |
commit | 982ff3a649221d9db79049e5823425f645b3228e (patch) | |
tree | 47031ef77e279f15ad51f36617f17310d87395eb /contrib/completion/git-completion.bash | |
parent | Documentation: document AUTO_MERGE (diff) | |
download | git-982ff3a649221d9db79049e5823425f645b3228e.tar.xz git-982ff3a649221d9db79049e5823425f645b3228e.zip |
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>
Diffstat (limited to '')
-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 bcda376735..945d2543b0 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 REVERT_HEAD BISECT_HEAD; do + for i in HEAD FETCH_HEAD ORIG_HEAD MERGE_HEAD REBASE_HEAD CHERRY_PICK_HEAD REVERT_HEAD BISECT_HEAD AUTO_MERGE; do case "$i" in $match*|$umatch*) if [ -e "$dir/$i" ]; then |