Re: [PATCH 1/5] add 'prior' link in commit structure
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 25, 2006, 05:18 UTC
- Message-ID
- <7vpsj62pxp.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060425043106.18382.24344.stgit@localhost.localdomain>
Sam Vilain <sam.vilain@catalyst.net.nz> writes:
> 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.
Object ancestry is parsed lazily, so you should not have to do this. Just point at another commit if you are to have only one (I recommend against it) or have another commit_list, but when you instantiate you may want to have a flag in the commit object itself that says "this need not exist".