Re: Git out of sync vs. CVS

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2010-01-17T21:42:39Z
Lists: pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> 2010/1/17 Peter Eisentraut <peter_e@gmx.net>:
>> Maybe I'm hallucinating and someone could check this in their
>> environment, but it appears to me that the Git repository is missing
>> parts of two non-recent commits. See attached patch.

> Not having looked at the repo in detail, but I bet this happened
> because the git mirror grabbed it's snapshot in the middle of a cvs
> commit with multiple files. Since cvs doesn't have atomic commits, I
> think that kind of thing can happen.

That would explain a single CVS commit appearing as two separate commits
in the git history; but it hardly seems like an acceptable excuse for
missing changes altogether, which is what I think Peter said he saw.

			regards, tom lane