summaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-07-09 21:00:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-07-09 21:00:44 (GMT)
commit24ecfdf206ee0e9e01f86d333d90d281fdfd12d0 (patch)
treecebd8275c93f7a86afa85fb6ed69fe0691034f3f /object.h
parent46be023084bd6ce4958f16427da7cdaf91cff205 (diff)
parentce16364e897e70a17bd1864b6007719eeec959f3 (diff)
downloadgit-24ecfdf206ee0e9e01f86d333d90d281fdfd12d0.zip
git-24ecfdf206ee0e9e01f86d333d90d281fdfd12d0.tar.gz
git-24ecfdf206ee0e9e01f86d333d90d281fdfd12d0.tar.bz2
Merge branch 'tb/fix-persistent-shallow' into master
When "fetch.writeCommitGraph" configuration is set in a shallow repository and a fetch moves the shallow boundary, we wrote out broken commit-graph files that do not match the reality, which has been corrected. * tb/fix-persistent-shallow: commit.c: don't persist substituted parents when unshallowing
Diffstat (limited to 'object.h')
-rw-r--r--object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/object.h b/object.h
index 38dc2d5..96a2105 100644
--- a/object.h
+++ b/object.h
@@ -25,6 +25,7 @@ struct parsed_object_pool {
char *alternate_shallow_file;
int commit_graft_prepared;
+ int substituted_parent;
struct buffer_slab *buffer_slab;
};