[PATCH 1/5] add 'prior' link in commit structure
From: Sam Vilain <hidden>
Date: 2016-06-15 22:42:24
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Sam Vilain <hidden>
Date: 2016-06-15 22:42:24
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Sam Vilain <redacted> Add a space in the commit for a prior commit that forms this commit's historical, not substantial, precedent. For now this is just recorded as a char* pointer, as it is not an error condition for the commit not to be present locally. --- commit.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/commit.h b/commit.h
index de142af..b00a6b9 100644
--- a/commit.h
+++ b/commit.h@@ -13,6 +13,7 @@ struct commit { struct object object; unsigned long date; struct commit_list *parents; + char *prior; struct tree *tree; char *buffer; };