From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH v5 2/2] submodule: pass on http.extraheader config settings Date: Thu, 28 Apr 2016 15:47:32 -0700 Message-ID: References: <89d0024450b0e6e9997ad9e3d681248bde1bafc0.1461837783.git.johannes.schindelin@gmx.de> <20160428112912.GB11522@sigill.intra.peff.net> <20160428134953.GB25364@sigill.intra.peff.net> <20160428153902.GF31063@sigill.intra.peff.net> <20160428165031.GA31421@sigill.intra.peff.net> <20160428191038.GA10574@sigill.intra.peff.net> Mime-Version: 1.0 Content-Type: text/plain Cc: Jeff King , Jacob Keller , Johannes Schindelin , Git mailing list To: Stefan Beller X-From: git-owner@vger.kernel.org Fri Apr 29 00:47:44 2016 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 1avuii-0002lq-T1 for gcvg-git-2@plane.gmane.org; Fri, 29 Apr 2016 00:47:41 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752346AbcD1Wrh (ORCPT ); Thu, 28 Apr 2016 18:47:37 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:61730 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752201AbcD1Wrg (ORCPT ); Thu, 28 Apr 2016 18:47:36 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id B5DD416CBC; Thu, 28 Apr 2016 18:47:34 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=NRW9aSzjplHwcf9ELS5/rkKm1Bs=; b=IUuWhc VvVJtTc9vEOMXhKyeyY4PwkXCrZ1/f8mITh6hs1mBFB4mGNWEuYvI8gJbTugAwHq hYj17KZM7jAFPVj/dZ5TKihL8aILQugY6Bxb184hvFtEM//3qiBXO7BHK3/rK7Fs rIp7pKZCm9/RXdeyhOt8UapZ8huYuD80WPLl0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=dphB9cubNaQ83y6epzYTFgYSMN/uqcxY zcLyEdoJtB1sTUDVxDA+xeDuzWGKNjopveXldKMwjnx9/fh7PUHOp8e7eyWRZS+a FtCbCDGHI5cKCNd6DKAVvfnnX/Ny81Hv3x2GES46JBuBZF+vp5lJoWXk3QShYPht hEzszbs59w0= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id ADF4F16CBB; Thu, 28 Apr 2016 18:47:34 -0400 (EDT) Received: from pobox.com (unknown [104.132.0.95]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 09B5716CB8; Thu, 28 Apr 2016 18:47:34 -0400 (EDT) In-Reply-To: (Stefan Beller's message of "Thu, 28 Apr 2016 13:01:09 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Pobox-Relay-ID: 32924BEE-0D93-11E6-A2BB-D05A70183E34-77302942!pb-smtp2.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Stefan Beller writes: > It doesn't even have to be a submodule related thing at all. > > I can imagine that `git gc` could learn to walk nested repos > (not submodules, just repos on disk inside the work tree). > And for that use case we'd maybe want to have a setting > to pack the nested repos more aggressively than the toplevel repo. > > (Not sure if there would be a use case or such a thing, but it is the > first I came up with) I do not think we are in the business of mucking with "dump of unrelated collections of repositories, whose inter-relationship the user did not tell us anything about". I however can foresee a value in "git gc --recurse-submodules", and I could see users may want to gc different submodules in different ways (which again brings us back to your "submodule group" thing).