diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-09-20 20:44:57 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-20 20:44:58 +0300 |
commit | 8c71f082eb2336909b4a291d014c98dbdde18a92 (patch) | |
tree | a96a57b3e4f1e4d5ee7dab27283756c963bee418 /contrib | |
parent | e9dac4b86c2c06f834eedad88302b76d2981c039 (diff) | |
parent | 4333267995662ccc9f4db3b628eebb78599e0025 (diff) |
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
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/completion/git-completion.bash | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 52b1b016cd..47fd664ea5 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -28,6 +28,7 @@ # completion style. For example '!f() { : git commit ; ... }; f' will # tell the completion to use commit completion. This also works with aliases # of form "!sh -c '...'". For example, "!sh -c ': git commit ; ... '". +# Be sure to add a space between the command name and the ';'. # # If you have a command that is not part of git, but you would still # like completion, you can use __git_complete: |