* Corrupt pack file using older versions of git on a newer repo..
@ 2006-12-20 13:27 Sean
2006-12-20 15:30 ` Nicolas Pitre
0 siblings, 1 reply; 2+ messages in thread
From: Sean @ 2006-12-20 13:27 UTC (permalink / raw)
To: git
This is probably expected behavior, but when bisecting another Git
issue[1], i found that after a fresh clone of the git repository using
1.4.4.2 I got the following corrupt pack file when accessing that repo
with an old version of git:
$ git --version
git version 1.4.2
$ git log
fatal: corrupted pack file .git/objects/pack/pack-d75f6a8307f8d8ce9727fe27107486839c54aef6.pack
When reverting to 1.4.3 instead, a git reset triggered the corrupt pack
error. Anyway, just a heads up in case it actually matters.
Sean
[1] The "Git" issue turned out not to be Git at all but rather the
Beagle search daemon which seems to touch file stat information as
it scans files in a git repo causing strange git status and diff
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Corrupt pack file using older versions of git on a newer repo..
2006-12-20 13:27 Corrupt pack file using older versions of git on a newer repo Sean
@ 2006-12-20 15:30 ` Nicolas Pitre
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Pitre @ 2006-12-20 15:30 UTC (permalink / raw)
To: Sean; +Cc: git
On Wed, 20 Dec 2006, Sean wrote:
>
> This is probably expected behavior, but when bisecting another Git
> issue[1], i found that after a fresh clone of the git repository using
> 1.4.4.2 I got the following corrupt pack file when accessing that repo
> with an old version of git:
>
> $ git --version
> git version 1.4.2
>
> $ git log
> fatal: corrupted pack file .git/objects/pack/pack-d75f6a8307f8d8ce9727fe27107486839c54aef6.pack
To make that repository accessible with older git versions simply run
git-repack -a -d using version 1.4.4.2.
The clone with version 1.4.4.2 added OBJ_OFS_DELTA objects to the pack
which older git versions don't know about. Those objects are used for
pack transport when both ends know about them as they take less space.
But the repack doesn't use them by default so a full repack will get rid
of them automatically.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-20 15:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-20 13:27 Corrupt pack file using older versions of git on a newer repo Sean
2006-12-20 15:30 ` Nicolas Pitre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).