From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (wildebeest.demon.nl [212.238.236.112]) by sourceware.org (Postfix) with ESMTPS id EA49C387090A for ; Wed, 16 Dec 2020 13:44:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EA49C387090A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mark@klomp.org Received: from tarox.wildebeest.org (tarox.wildebeest.org [172.31.17.39]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id A0DC137251DE; Wed, 16 Dec 2020 14:44:15 +0100 (CET) Received: by tarox.wildebeest.org (Postfix, from userid 1000) id 5AD4E40006CA; Wed, 16 Dec 2020 14:44:15 +0100 (CET) Message-ID: <0e33ef20ac4b0ebbd4ef176d197d4931928e1916.camel@klomp.org> Subject: Re: Q: splitting the top level .gitignore file From: Mark Wielaard To: "Dmitry V. Levin" , elfutils-devel@sourceware.org Date: Wed, 16 Dec 2020 14:44:15 +0100 In-Reply-To: <20201215234641.GB19917@altlinux.org> References: <20201215234032.GA19917@altlinux.org> <20201215234641.GB19917@altlinux.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.28.5 (3.28.5-10.el7) Mime-Version: 1.0 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2020 13:44:18 -0000 Hi Dmitry, On Wed, 2020-12-16 at 02:46 +0300, Dmitry V. Levin wrote: > By the way, what do you think about moving subdirectory parts of the top > level .gitignore file into subdirectories? This would be consistent with > ChangeLog files, currently one has to update the top level ChangeLog file > when the top level .gitignore file is changed in a way that affects > specific subdirectories only. Yes, I think it would make sense to have .gitignore files per subdir. I don't know how to keep that easily up to date though. I normally use srcdir !=3D builddir setups and so don't immediately see when there are generated files in the srcdir. Thanks, Mark