]> git.ipfire.org Git - thirdparty/git.git/commit
t0014: test shadowing of aliases for a sample of builtins
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Wed, 17 Sep 2025 20:24:15 +0000 (22:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Sep 2025 20:47:23 +0000 (13:47 -0700)
commit65d33db48e5a2c6dbf3f33d6eaa987f55dabe26a
tree810d1adf2537a7761db854849c03f5345fd55582
parentbf68b116997a0471dfccf7dcced00eb7d8b66982
t0014: test shadowing of aliases for a sample of builtins

The previous commit added tests for shadowing deprecated builtins.
Let’s make the test suite more complete by exercising a sample of
the builtins and in turn test the documentation for git-config(1):

    To avoid confusion and troubles with script usage, aliases that hide
    existing Git commands are ignored except for deprecated commands.

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0014-alias.sh