Skip to content

Commit c55c4a5

Browse files
pcloudsgitster
authored andcommitted
completion: use __gitcomp_builtin in _git_cherry
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent be6d1b2 commit c55c4a5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,6 +1286,12 @@ _git_checkout ()
12861286

12871287
_git_cherry ()
12881288
{
1289+
case "$cur" in
1290+
--*)
1291+
__gitcomp_builtin cherry
1292+
return
1293+
esac
1294+
12891295
__git_complete_refs
12901296
}
12911297

0 commit comments

Comments
 (0)