aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-09-20 10:44:57 -0700
committerJunio C Hamano <gitster@pobox.com>2023-09-20 10:44:58 -0700
commit8c71f082eb2336909b4a291d014c98dbdde18a92 (patch)
treea96a57b3e4f1e4d5ee7dab27283756c963bee418 /contrib
parente9dac4b86c2c06f834eedad88302b76d2981c039 (diff)
parent4333267995662ccc9f4db3b628eebb78599e0025 (diff)
downloadgit-8c71f082eb2336909b4a291d014c98dbdde18a92.tar.gz
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.bash1
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: