summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorJonatan Holmgren <jonatan@jontes.page>2026-04-24 18:17:00 +0200
committerJunio C Hamano <gitster@pobox.com>2026-04-25 19:22:52 +0900
commit21186cf9bbe5f1d8a039286027ebb4f33c7f85d1 (patch)
tree725e0e8ccc3adac6672bfe53e133512193d3fc15 /t/t4013/diff.diff_initial..side
parent73cc549559398626f33063f64ece9e558e654c95 (diff)
alias: restore support for simple dotted aliases
Historically, config entries like alias.foo.bar expanded the alias "foo.bar". The subsection-based alias syntax introduced in ac1f12a9de (alias: support non-alphanumeric names via subsection syntax, 2026-02-18) broke that behavior by treating such entries as if they were subsection syntax. Restore support for the old dotted form by falling back to the full name when the final key is not "command". Add tests covering execution and help output for simple dotted aliases. Reported-by: Michael Grossfeld <michael.grossfeld@amd.com> Helped-by: Jeff King <peff@peff.net> Signed-off-by: Jonatan Holmgren <jonatan@jontes.page> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions