From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff King Subject: Re: propagating repo corruption across clone Date: Wed, 27 Mar 2013 15:49:38 -0400 Message-ID: <20130327194938.GB26380@sigill.intra.peff.net> References: <20130325145644.GA16576@sigill.intra.peff.net> <20130325155600.GA18216@sigill.intra.peff.net> <20130325200752.GB3902@sigill.intra.peff.net> <20130326165553.GA7282@sigill.intra.peff.net> <1364340037755-7580771.post@n2.nabble.com> <20130327012515.GC28148@google.com> <1364408595621-7580839.post@n2.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: git@vger.kernel.org To: Rich Fromm X-From: git-owner@vger.kernel.org Wed Mar 27 20:50:14 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UKwMO-00030c-RG for gcvg-git-2@plane.gmane.org; Wed, 27 Mar 2013 20:50:13 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754129Ab3C0Ttp (ORCPT ); Wed, 27 Mar 2013 15:49:45 -0400 Received: from 75-15-5-89.uvs.iplsin.sbcglobal.net ([75.15.5.89]:41833 "EHLO peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753777Ab3C0Tto (ORCPT ); Wed, 27 Mar 2013 15:49:44 -0400 Received: (qmail 17528 invoked by uid 107); 27 Mar 2013 19:51:30 -0000 Received: from sigill.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.7) (smtp-auth username relayok, mechanism cram-md5) by peff.net (qpsmtpd/0.84) with ESMTPA; Wed, 27 Mar 2013 15:51:30 -0400 Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Wed, 27 Mar 2013 15:49:38 -0400 Content-Disposition: inline In-Reply-To: <1364408595621-7580839.post@n2.nabble.com> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Wed, Mar 27, 2013 at 11:23:15AM -0700, Rich Fromm wrote: > But I'm still somewhat confused about what is and is not checked under what > conditions. Consider the three statements: > > # 1 > git clone --mirror myuser@myhost:my_repo > > # 2 > git clone --mirror --config transfer.fsckObjects=true myuser@myhost:my_repo > > # 3 > git clone --mirror myuser@myhost:my_repo && cd my_repo.git && git-fsck > > Are 2 and 3 equivalent? Or is there an increasing level of checking that > occurs from 1 to 2, and from 2 to 3? My guess is the latter, but perhaps > this could be clearer in the man pages. 2 and 3 are not exactly equivalent, in that they are implemented slightly differently, but I do not know offhand of any case that would pass 2 but not 3. We do check reachability with transfer.fsckObjects. -Peff