summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorPhilippe Blain <levraiphilippeblain@gmail.com>2023-09-12 17:02:15 +0000
committerJunio C Hamano <gitster@pobox.com>2023-09-12 17:46:01 -0700
commit4333267995662ccc9f4db3b628eebb78599e0025 (patch)
treec476f26cdfa16dfcf70386bab80675d961b744a0 /commit.c
parent43c8a30d150ecede9709c1f2527c8fba92c65f40 (diff)
completion: improve doc for complex aliases
The completion code can be told to use a particular completion for aliases that shell out by using ': git <cmd> ;' as the first command of the alias. This only works if <cmd> and the semicolon are separated by a space, since if the space is missing __git_aliased_command returns (for example) 'checkout;' instead of just 'checkout', and then __git_complete_command fails to find a completion for 'checkout;'. The examples have that space but it's not clear if it's just for style or if it's mandatory. Explicitly mention it. Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions