diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-06-13 22:50:44 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-13 22:50:44 +0300 |
commit | fb6ac9e79ae47aa55bb1c8b151afa770abd2a601 (patch) | |
tree | 315da2150b746c83a648741bf87c915194e5292c /fsck.c | |
parent | b2453d34496cb62b9c63c7a7c9b4bead2431f715 (diff) | |
parent | 47cc91310a81ca606e6bebcccf168bc1cb297d8e (diff) |
Merge branch 'jk/submodule-fsck-loose-fixup'
Finishing touches to a topic that already is in 'maint'.
* jk/submodule-fsck-loose-fixup:
fsck: avoid looking at NULL blob->object
t7415: don't bother creating commit for symlink test
Diffstat (limited to 'fsck.c')
-rw-r--r-- | fsck.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1036,7 +1036,8 @@ int fsck_finish(struct fsck_options *options) blob = lookup_blob(oid); if (!blob) { - ret |= report(options, &blob->object, + struct object *obj = lookup_unknown_object(oid->hash); + ret |= report(options, obj, FSCK_MSG_GITMODULES_BLOB, "non-blob found at .gitmodules"); continue; |