Re: Debugging strange "corrupt pack" errors on SuSE 9
From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:43:17
On Wed, 20 Jun 2007, Martin Langhoff wrote:
On 6/20/07, Nicolas Pitre [off-list ref] wrote:quoted
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