Merge branch 'jc/diff-tree-stdin-fix' into maint
commit8e5c46e31571a1b1e88458dacc5d62e9c59eca6f
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 May 2022 21:36:24 +0000 (5 14:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 May 2022 21:36:24 +0000 (5 14:36 -0700)
treec9fa6b5145e6f5918d79eb3e51f14bf344402164
parent899df5f690b23900712b57ff088e450df76f7596
parentf8781bfda31756acdc0ae77da7e70337aedae7c9
Merge branch 'jc/diff-tree-stdin-fix' into maint

"diff-tree --stdin" has been broken for about a year, but 2.36
release broke it even worse by breaking running the command with
<pathspec>, which in turn broke "gitk" and got noticed.  This has
been corrected by aligning its behaviour to that of "log".

This fixes a regression in 2.36 and is slate to go to 2.36.1
source: <xmqq7d7bsu2n.fsf@gitster.g>

* jc/diff-tree-stdin-fix:
  2.36 gitk/diff-tree --stdin regression fix
log-tree.c