diff options
author | Stefan Beller <sbeller@google.com> | 2018-05-18 01:51:52 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-18 02:13:10 +0300 |
commit | eee4502baaf8f82c20bcda70625df56ce68dd9b1 (patch) | |
tree | 76bdb6640a4a9809a49e9d53c3b8bf26469473d8 /object.h | |
parent | 102de880d24fe66a8916e7c984e5bf8db6be047c (diff) |
shallow: migrate shallow information into the object parser
We need to convert the shallow functions all at the same time
as we move the data structures they operate on into the repository.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.h')
-rw-r--r-- | object.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |