Skip to content

Commit df39877

Browse files
lmarlowgitster
authored andcommitted
bash completion: Use 'git add' completions for 'git stage'
Signed-off-by: Lee Marlow <[email protected]> Trivially-Acked-by: Shawn O. Pearce <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c9a114b commit df39877

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,6 +1738,7 @@ _git ()
17381738
show) _git_show ;;
17391739
show-branch) _git_show_branch ;;
17401740
stash) _git_stash ;;
1741+
stage) _git_add ;;
17411742
submodule) _git_submodule ;;
17421743
svn) _git_svn ;;
17431744
tag) _git_tag ;;

0 commit comments

Comments
 (0)