Re: Validation of a commit object?
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Aug 14, 2006, 08:39 UTC
- Message-ID
- <81b0412b0608140139l2937669arbef1e303d1c739bb@mail.gmail.com>
- In-Reply-To
- <20060814062830.GF18667@spearce.org>
On 8/14/06, Shawn Pearce <spearce@spearce.org> wrote:
Show 5 quoted lines
> The reason I ask is I'm working on my (bastard) fast-import program > for Jon's Mozilla CVS -> GIT conversion effort and I'm taking the > author and committer lines blind from the Python code. If the > Python code gives me a bad line its going to go into the pack that > way, with that possibly resulting in a totally corrupt repository.
Apart from timestamp, which is used in merge base and rev-list calculations, it does not look like "a totally corrupt repository". "Slightly corrupt", perhaps - you still can work with it, so long the blobs, commits and trees make sense.