shallow: migrate shallow information into the object parser
[gitweb.git] / object.h
index ec908f9bcc1c1b4315a000162f43cd8f3bb0736f..a314331acafd55d89126c94fb938f03e5d69fa5c 100644 (file)
--- a/object.h
+++ b/object.h
@@ -16,6 +16,10 @@ struct parsed_object_pool {
        /* parent substitutions from .git/info/grafts and .git/shallow */
        struct commit_graft **grafts;
        int grafts_alloc, grafts_nr;
+
+       int is_shallow;
+       struct stat_validity *shallow_stat;
+       char *alternate_shallow_file;
 };
 
 struct parsed_object_pool *parsed_object_pool_new(void);