]> git.ipfire.org Git - thirdparty/git.git/commit
diff_aligned_abbrev: use "struct oid"
authorJeff King <peff@peff.net>
Thu, 20 Oct 2016 06:20:07 +0000 (02:20 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Oct 2016 20:30:51 +0000 (13:30 -0700)
commitd6cece51b83db5d8a523c4ba857013c4242e310e
tree00026cf8d8f9e753c8dad349955d65b71c210e36
parentd5e3b01e5bd6b06c06dbd5d1e2257d57e6b1deb7
diff_aligned_abbrev: use "struct oid"

Since we're modifying this function anyway, it's a good time
to update it to the more modern "struct oid". We can also
drop some of the magic numbers in favor of GIT_SHA1_HEXSZ,
along with some descriptive comments.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
combine-diff.c
diff.c
diff.h