Merge branch 'rs/diff-no-index-cleanup'
commite0574c4fd1ee903409db010fcac7c1ab8f3891c9
authorJunio C Hamano <gitster@pobox.com>
Tue, 13 Sep 2022 18:38:23 +0000 (13 11:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Sep 2022 18:38:23 +0000 (13 11:38 -0700)
treebc3b03084579acd80e8345651e5ce4ffc542debd
parentf322e9f51b5a2ca303a6691d0e2d1f3f754923ff
parent2b43dd0eb5f3f035b9bd9d019ec405dd55ec15e1
Merge branch 'rs/diff-no-index-cleanup'

"git diff --no-index A B" managed its the pathnames of its two
input files rather haphazardly, sometimes leaking them.  The
command line argument processing has been straightened out to clean
it up.

* rs/diff-no-index-cleanup:
  diff-no-index: simplify argv index calculation
  diff-no-index: release prefixed filenames
  diff-no-index: release strbuf on queue error