Re: Git commit generation numbers
- From
- david@lang.hm <david@lang.hm>
- Date
- Jul 20, 2011, 23:26 UTC
- Message-ID
- <alpine.DEB.2.02.1107201624510.5222@asgard.lang.hm>
- In-Reply-To
- <20110720221632.14223.qmail@science.horizon.com>
On Wed, 20 Jul 2011, George Spelvin wrote:
Show 8 quoted lines
>> The alternative of having to sometimes use the generation number, >> sometimes use the possibly broken commit date, makes for much more >> complicated code that has to be maintained forever. Having a solution >> that starts working only after a certain point in history doesn't look >> eleguant to me at all. It is not like having different pack formats >> where back and forth conversions can be made for the _entire_ history. > > It seemed like a pretty strong argument to me, too.
except that you then have different caches on different systems. If the generation number is part of the repository then it's going to be the same for everyone.
in either case, you still have the different heristics depending on what version of git someone is running
David Lang