]> Kevux Git Server - rit/commit
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)
commit015cf12578691d77638c7b99f27c15f4d73446e4
tree17a9dd45b8344ac985b008a1a7f037e7d0b7fb24
parent0f34e8c17441685159c5c0ea5b742bd8257e10ce
parentb0ddc7947cc6f0a077543204a96710c53daa48a5
Merge branch 'mm/diff-no-index-find-object'

"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