Skip to content

Commit d73a59d

Browse files
pcloudsgitster
authored andcommitted
completion: use __gitcomp_builtin in _git_name_rev
The new completable options are: --always --exclude --name-only --refs --undefined Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 61d15cd commit d73a59d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1825,7 +1825,7 @@ _git_mv ()
18251825

18261826
_git_name_rev ()
18271827
{
1828-
__gitcomp "--tags --all --stdin"
1828+
__gitcomp_builtin name-rev
18291829
}
18301830

18311831
_git_notes ()

0 commit comments

Comments
 (0)