diff options
author | Jeff King <peff@peff.net> | 2017-05-19 08:57:30 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-24 10:59:27 +0900 |
commit | 42f5ba5bb6648c16a3c90a0110fbdb430e590a1b (patch) | |
tree | 81ac7210f1b599d88171dd8524ffe47d55247aa3 /Documentation/git-symbolic-ref.txt | |
parent | handle_revision_arg: record paths for pending objects (diff) | |
download | tgif-42f5ba5bb6648c16a3c90a0110fbdb430e590a1b.tar.xz |
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 'Documentation/git-symbolic-ref.txt')
0 files changed, 0 insertions, 0 deletions