]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'mm/diff-no-index-find-object' into next
authorJunio C Hamano <gitster@pobox.com>
Tue, 3 Mar 2026 21:41:21 +0000 (13:41 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Mar 2026 21:41:21 +0000 (13:41 -0800)
commitfcff548ddb822ff5e32e2ff58619ff95126b5f2f
tree4cca8e408ccccba15a765d7acaeeb671ab64f643
parente2d1e470152e20819ab9695d2509f6cb352ac2f8
parentb0ddc7947cc6f0a077543204a96710c53daa48a5
Merge branch 'mm/diff-no-index-find-object' into next

"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
diff.c
t/t4053-diff-no-index.sh