Skip to content

Commit 3907310

Browse files
pcloudsgitster
authored andcommitted
completion: use __gitcomp_builtin in _git_reset
The new completable options are: --intent-to-add --quiet --recurse-submodules Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1b35475 commit 3907310

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
@@ -2685,7 +2685,7 @@ _git_reset ()
26852685

26862686
case "$cur" in
26872687
--*)
2688-
__gitcomp "--merge --mixed --hard --soft --patch --keep"
2688+
__gitcomp_builtin reset
26892689
return
26902690
;;
26912691
esac

0 commit comments

Comments
 (0)