From: Sam Vilain Date: Tue, 25 Apr 2006 04:31:06 GMT Subject: [PATCH 1/5] add 'prior' link in commit structure Message-ID: <20060425043106.18382.24344.stgit@localhost.localdomain> In-Reply-To: <20060425035421.18382.51677.stgit@localhost.localdomain> From: Sam Vilain 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; };