We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 40b7732 + ea95c7b commit b7f5716Copy full SHA for b7f5716
contrib/completion/git-completion.bash
@@ -901,7 +901,7 @@ _git_add ()
901
esac
902
903
# XXX should we check for --update and --all options ?
904
- __git_complete_index_file "--others --modified"
+ __git_complete_index_file "--others --modified --directory --no-empty-directory"
905
}
906
907
_git_archive ()
@@ -1063,7 +1063,7 @@ _git_clean ()
1063
1064
1065
# XXX should we check for -x option ?
1066
- __git_complete_index_file "--others"
+ __git_complete_index_file "--others --directory"
1067
1068
1069
_git_clone ()
0 commit comments