Re: Corruption in the repository
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Dec 14, 2010, 19:19 UTC
- Message-ID
- <20101214191901.GA7257@burratino>
- In-Reply-To
- <1292255990.25237.27642.camel@korcula.inria.fr>
Sylvestre Ledru wrote:
> error: refs/changes/98/398/1 does not point to a valid object! > error: refs/changes/98/398/2 does not point to a valid object! > fatal: object cff52c24fba28408e7d021a8f35a717bef31521d is corrupted > fatal: The remote end hung up unexpectedly
Ah, should have thought of this sooner. There doesn't seem to be corruption involved after all.
> Does anyone know how to repair this error ?
Use git from the "master" branch to consolidate pack files:
~/src/git/bin-wrappers/git repack -a -d
Details are in f2e872aa5 (Work around EMFILE when there are too many pack files, 2010-11-01), which will likely be part of git 1.7.4. Thanks for reporting and sorry for the trouble.
Jonathan