Re: [PATCH] [RFD] Add repoid identifier to commit
- From
Sean <seanlkml@sympatico.ca>
- Date
- May 12, 2005, 21:09 UTC
- Message-ID
- <4776.10.10.10.24.1115932163.squirrel@linux1>
- In-Reply-To
- <1115930845.11872.79.camel@tglx>
On Thu, May 12, 2005 4:47 pm, Thomas Gleixner said:
Show 8 quoted lines
> As I said before timestamps can be a horrid source of information. Also > if you keep a list of commits merges and head forwards in timed order it > is simple to read the repository history, but in case of corruption you > have to reconstruct it manually. There is no way to do so with the > information available. > > Repository id's can be lost, but are simple to replace as they are > recorded in the commit blob.
And the time is recorded on the commit blob too. In case of corruption, restore the blobs from backup, you get everything back. Corruption can wipe out repoids and complete git objects too, you had better have backups. Repoids offer no protection from corruption or otherwise lost blobs.
Sean