git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Debugging strange "corrupt pack" errors on SuSE 9

From
Nicolas Pitre <nico@cam.org>
Date
Jun 20, 2007, 05:12 UTC
Message-ID
<alpine.LFD.0.99.0706200102380.20596@xanadu.home>
In-Reply-To
<46a038f90706192117x53420c04o27f05e8fa6c338a5@mail.gmail.com>
On Wed, 20 Jun 2007, Martin Langhoff wrote:
Show 12 quoted lines
> On 6/20/07, Nicolas Pitre <nico@cam.org> wrote:
> 
> > But because you push to a local repository (a mounted USB stick is
> > considered a local repo) then you don't get to negociate the pack
> > capabilities of the final destination, and therefore more "bad" delta
> > objects might sneak in again.
> 
> How does that work? So any repo we push _from_ can override (and muck
> up) the destination repo, ignoring its config?
> 
> That sounds a bit broken - the pack being built for a local
> destination should respect the settings of the destination repo.

But it does! The problem is that _you_ are cheating it by removing the USB stick and mounting it somewhere else.

Then you're using cogito which bypasses things.

If you use pure git on the client machine, and actually use git-pull or git-fetch _without_ the -l switch then validation of the updated data will occur and there would be no way to muck up the destination repo.

Nicolas
Previous: Nicolas PitreNext: Jakub Narebski
Message 9 of 10 in “Debugging strange "corrupt pack" errors on SuSE 9”
  1. Martin LanghoffJun 20, 2007
  2. Nicolas PitreJun 20, 2007
  3. Martin LanghoffJun 20, 2007
  4. Martin LanghoffJun 20, 2007
  5. Nicolas PitreJun 20, 2007
  6. Nicolas PitreJun 20, 2007
  7. Martin LanghoffJun 20, 2007
  8. Nicolas PitreJun 20, 2007
  9. Nicolas PitreJun 20, 2007
  10. Jakub NarebskiJun 20, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.