Re: as promised, docs: git for the confused
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 13, 2005, 05:19 UTC
- Message-ID
- <7vzmn5bmlk.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <86d5k1y7dp.fsf@blue.stonehenge.com>
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.