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
This commit is contained in:
3
fsck.c
3
fsck.c
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user