summaryrefslogtreecommitdiff
path: root/t/t1507-rev-parse-upstream.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-11-06 10:00:57 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-11-06 11:03:33 -0800
commit4ef8d1dd03d3b8adf81b4b81b2231128e3591f36 (patch)
tree102db9c3334ecb998e7b7d3a64ca711a6df4b17e /t/t1507-rev-parse-upstream.sh
parentt5570: Update for clone-progress-to-stderr branch (diff)
downloadtgif-4ef8d1dd03d3b8adf81b4b81b2231128e3591f36.tar.xz
sha1_loose_object_info(): do not return success on missing object
Since 052fe5ea (sha1_loose_object_info: make type lookup optional, 2013-07-12), sha1_loose_object_info() returns happily without checking if the object in question exists, which is not what the the caller sha1_object_info_extended() expects; the caller does not even bother checking the existence of the object itself. Noticed-by: Sven Brauch <svenbrauch@googlemail.com> Helped-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1507-rev-parse-upstream.sh')
0 files changed, 0 insertions, 0 deletions