]> git.99rst.org Git - git.git/commitdiff
Merge branch 'rs/tighten-alias-help'
authorJunio C Hamano <redacted>
Tue, 5 Aug 2025 18:53:55 +0000 (11:53 -0700)
committerJunio C Hamano <redacted>
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
git clone https://git.99rst.org/PROJECT