]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'mm/diff-no-index-find-object'
authorJunio C Hamano <gitster@pobox.com>
Tue, 10 Mar 2026 21:23:22 +0000 (14:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Mar 2026 21:23:22 +0000 (14:23 -0700)
"git diff --no-index --find-object=<object-name>" outside a
repository of course wouldn't be able to find the object and died
while parsing the command line, which is made to die in a bit more
user-friendly way.

* mm/diff-no-index-find-object:
  diff: fix crash with --find-object outside repository

1  2 
diff.c
t/t4053-diff-no-index.sh

diff --cc diff.c
Simple merge
Simple merge