diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-11-02 10:53:19 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-11-02 10:53:19 +0300 |
commit | 83442ded89b726f4156c8e702308dd84d7e43bf2 (patch) | |
tree | 546723e158282b11f0806eb2abcd5c453cd6df7b | |
parent | 2fd4378d64dae6895f1a98b721fe0ed0f0d552b0 (diff) | |
parent | 4333267995662ccc9f4db3b628eebb78599e0025 (diff) |
Merge branch 'pb/completion-aliases-doc' into maint-2.42
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
-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 745dc901fb..55950057c8 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: |