Skip to content

Commit 8c71f08

Browse files
committed
Merge branch 'pb/completion-aliases-doc'
Clarify how "alias.foo = : git cmd ; aliased-command-string" should be spelled with necessary whitespaces around punctuation marks to work. * pb/completion-aliases-doc: completion: improve doc for complex aliases
2 parents e9dac4b + 4333267 commit 8c71f08

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
@@ -28,6 +28,7 @@
2828
# completion style. For example '!f() { : git commit ; ... }; f' will
2929
# tell the completion to use commit completion. This also works with aliases
3030
# of form "!sh -c '...'". For example, "!sh -c ': git commit ; ... '".
31+
# Be sure to add a space between the command name and the ';'.
3132
#
3233
# If you have a command that is not part of git, but you would still
3334
# like completion, you can use __git_complete:

0 commit comments

Comments
 (0)