From: Nicolas Pitre <nico@cam.org>
To: Sean <seanlkml@sympatico.ca>
Cc: git@vger.kernel.org
Subject: Re: Corrupt pack file using older versions of git on a newer repo..
Date: Wed, 20 Dec 2006 10:30:52 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.64.0612201024370.18171@xanadu.home> (raw)
In-Reply-To: <BAYC1-PASMTP11ADF6C984028A9DED853FAECF0@CEZ.ICE>
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.
prev parent reply other threads:[~2006-12-20 15:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0612201024370.18171@xanadu.home \
--to=nico@cam.org \
--cc=git@vger.kernel.org \
--cc=seanlkml@sympatico.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).