]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'rs/tighten-alias-help'
authorJunio C Hamano <gitster@pobox.com>
Tue, 5 Aug 2025 18:53:55 +0000 (11:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Aug 2025 18:53:56 +0000 (11:53 -0700)
"git -c alias.foo=bar foo -h baz" reported "'foo' is aliased to
'bar'" and then went on to run "git foo -h baz", which was
unexpected.  Tighten the rule so that alias expansion is reported
only when "-h" is the sole option.

* rs/tighten-alias-help:
  git: show alias info only with lone -h


Trivial merge