Re: "git add -i" with path gives "Argument list too long"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 22, 2010, 01:55 UTC
- Message-ID
- <7veijd3ysc.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20100322014100.GA7717@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Is type (2) exactly fnmatch?
It calls fnmatch(3) but without FNM_PATHNAME nor FNM_PERIOD, which makes me sometimes wonder if it was a historical mistake and go to "git log" to check, but it is more-or-less deliberate choice, as illustrated by the 'arch/i386/*.[ch]' example in 5be4efb ([PATCH] Make "git-ls-files" work in subdirectories, 2005-08-21).