Re: gitweb wishlist
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- May 24, 2005, 17:23 UTC
- Message-ID
- <Pine.LNX.4.58.0505241017510.2307@ppc970.osdl.org>
- In-Reply-To
- <Pine.LNX.4.58.0505240943080.2307@ppc970.osdl.org>
On Tue, 24 May 2005, Linus Torvalds wrote:
Show 11 quoted lines
> > - the commit time will be the conversion time, not the original commit > time (but the _author_ time will be correct). I suspect that for a > conversion like this, we really should add support for GIT_COMMIT_DATE. > > That would also make the archive conversion 100% reproducible, ie > everybody should get the exact same objects (and thus the exact same > SHA1 values) which is good. > > I'll add the GIT_COMMIT_DATE thing, but the name translation is for > somebody else.
Done. I've also fixed the timezone to "+0000", so that it doesn't matter where you do the conversion, you should always get the same results (again, I just pushed that out, it might not have hit the public mirrors yet).
To get GIT_COMMITTER_DATE (note: COMMITTER, not COMMIT, to illogically match the name/email ones) you obviously also need a new git. So to have it all working right, you should have the top commits in git-tools and git be
cvs2git: set timezone info to UTC, the way CVS does
and
git-commit-tree: allow overriding of commit date
respectively.
And if this doesn't work for you, point me to the CVS archive that causes you trouble.
Linus