summaryrefslogtreecommitdiff
path: root/tmp-objdir.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-05-19 12:57:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-05-24 01:59:27 (GMT)
commit42f5ba5bb6648c16a3c90a0110fbdb430e590a1b (patch)
tree81ac7210f1b599d88171dd8524ffe47d55247aa3 /tmp-objdir.h
parent18f1ad76392e60cfaf68c3f1e49a4c91bd415d0d (diff)
downloadgit-42f5ba5bb6648c16a3c90a0110fbdb430e590a1b.zip
git-42f5ba5bb6648c16a3c90a0110fbdb430e590a1b.tar.gz
git-42f5ba5bb6648c16a3c90a0110fbdb430e590a1b.tar.bz2
diff: pass whole pending entry in blobinfo
When diffing blobs directly, git-diff picks the blobs out of the rev_info's pending array and copies the relevant bits to a custom "struct blobinfo". But the pending array entry already has all of this information (and more, which we'll use in future patches). Let's just pass the original entry instead. In practice, these two blobs are probably adjacent in the revs->pending array, and we could just pass the whole array. But the current code is careful to pick each blob out separately and put it into another array, so we'll continue to do so and make our own array-of-pointers. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tmp-objdir.h')
0 files changed, 0 insertions, 0 deletions