@matheusbsbs / matheus-bagliano / commits / ce5a2c956f
Fork 0

bash: Add more long options to be completed with "git --<TAB>"

Add the following long options to be completed with command "git": --paginate --work-tree= --help Signed-off-by: Teemu Likonen <tlikonen@iki.fi> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Teemu Likonen committed Mar 6, 2008 at 18:52 UTC ce5a2c956f10f84d8403fc4e94106a6b33a5024a
1 file changed +3
contrib/completion/git-completion.bash
+3
@@ -1271,11 +1271,14 @@ _git ()
1271 case "${COMP_WORDS[COMP_CWORD]}" in
1272 --*=*) COMPREPLY=() ;;
1273 --*) __gitcomp "
1274 + --paginate
1275 --no-pager
1276 --git-dir=
1277 --bare
1278 --version
1279 --exec-path
1280 + --work-tree=
1281 + --help
1282 "
1283 ;;
1284 *) __gitcomp "$(__git_commands) $(__git_aliases)" ;;