/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shallow: migrate shallow information into the object parser
[git/git.git]
/
object.c
diff --git
a/object.c
b/object.c
index
0116ed6
..
30b8a72
100644
(file)
--- a/
object.c
+++ b/
object.c
@@
-464,6
+464,9
@@
struct parsed_object_pool *parsed_object_pool_new(void)
o->tag_state = allocate_alloc_state();
o->object_state = allocate_alloc_state();
+ o->is_shallow = -1;
+ o->shallow_stat = xcalloc(1, sizeof(*o->shallow_stat));
+
return o;
}