aboutsummaryrefslogtreecommitdiffstats
path: root/path-walk.c
diff options
context:
space:
mode:
Diffstat (limited to 'path-walk.c')
-rw-r--r--path-walk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/path-walk.c b/path-walk.c
index 2d4ddbadd5..1215ed398f 100644
--- a/path-walk.c
+++ b/path-walk.c
@@ -385,6 +385,7 @@ static int setup_pending_objects(struct path_walk_info *info,
list->type = OBJ_TREE;
strmap_put(&ctx->paths_to_lists, path, list);
}
+ list->maybe_interesting = 1;
oid_array_append(&list->oids, &obj->oid);
free(path);
} else {
@@ -404,6 +405,7 @@ static int setup_pending_objects(struct path_walk_info *info,
list->type = OBJ_BLOB;
strmap_put(&ctx->paths_to_lists, path, list);
}
+ list->maybe_interesting = 1;
oid_array_append(&list->oids, &obj->oid);
} else {
/* assume a root tree, such as a lightweight tag. */