From: Junio C Hamano Subject: Re: as promised, docs: git for the confused Date: Mon, 12 Dec 2005 21:19:19 -0800 Message-ID: <7vzmn5bmlk.fsf@assigned-by-dhcp.cox.net> References: <20051209215414.14072.qmail@science.horizon.com> <7vmzj9zwfu.fsf@assigned-by-dhcp.cox.net> <20051212195319.11d41269.tihirvon@gmail.com> <86y82qyrqs.fsf@blue.stonehenge.com> <20051213035842.GF10371@always.joy.eth.net> <86d5k1y7dp.fsf@blue.stonehenge.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git@vger.kernel.org X-From: git-owner@vger.kernel.org Tue Dec 13 06:19:48 2005 Return-path: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Em2ZQ-0008EC-SE for gcvg-git@gmane.org; Tue, 13 Dec 2005 06:19:25 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932457AbVLMFTW (ORCPT ); Tue, 13 Dec 2005 00:19:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932460AbVLMFTW (ORCPT ); Tue, 13 Dec 2005 00:19:22 -0500 Received: from fed1rmmtao06.cox.net ([68.230.241.33]:24213 "EHLO fed1rmmtao06.cox.net") by vger.kernel.org with ESMTP id S932457AbVLMFTV (ORCPT ); Tue, 13 Dec 2005 00:19:21 -0500 Received: from assigned-by-dhcp.cox.net ([68.4.9.127]) by fed1rmmtao06.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051213051728.PZHF20050.fed1rmmtao06.cox.net@assigned-by-dhcp.cox.net>; Tue, 13 Dec 2005 00:17:28 -0500 To: merlyn@stonehenge.com (Randal L. Schwartz) In-Reply-To: <86d5k1y7dp.fsf@blue.stonehenge.com> (Randal L. Schwartz's message of "12 Dec 2005 19:59:30 -0800") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: merlyn@stonehenge.com (Randal L. Schwartz) writes: > ... I also don't see any direct support for .gitignore files > in any of the plumbing. Am I missing something there? No, you are not missing anything. The only Plumbing support is that ls-files takes --exclude-from= and --exclude-per-directory= options. It is up to the Porcelain layer what names to use. We agreed upon a convention to use .gitignore as per-directory and .git/info/exclude (I think this came from existing practice by Cogito back then) as the tree-wide fallback, when these two flags were introduced to ls-files, for interoperability across Porcelains.