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>
This commit is contained in:

committed by
Junio C Hamano

parent
6ec5f46071
commit
1ef3c61b78
@ -767,7 +767,7 @@ __git_refs ()
|
|||||||
track=""
|
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
|
case "$i" in
|
||||||
$match*|$umatch*)
|
$match*|$umatch*)
|
||||||
if [ -e "$dir/$i" ]; then
|
if [ -e "$dir/$i" ]; then
|
||||||
|
Reference in New Issue
Block a user