diff options
author | Jeff King <peff@peff.net> | 2019-10-18 00:59:15 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-28 14:05:18 +0900 |
commit | 38370253fd43f494ca628e47b4d9c6e629990fc7 (patch) | |
tree | 5c44fb279c4d97e33892804acc2a03257f042c0d /contrib/diff-highlight/Makefile | |
parent | fsck: only require an oid for skiplist functions (diff) | |
download | tgif-38370253fd43f494ca628e47b4d9c6e629990fc7.tar.xz |
fsck: don't require an object struct for report()
The report() function really only cares about the oid and type of the
object, not the full object struct. Let's convert it to take those two
items separately, which gives our callers more flexibility.
This makes some already-long lines even longer. I've mostly left them,
as our eventual goal is to shrink these down as we continue refactoring
(e.g., "&item->object" becomes "&item->object.oid, item->object.type",
but will eventually shrink down to "oid, type").
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/diff-highlight/Makefile')
0 files changed, 0 insertions, 0 deletions