From: Junio C Hamano Date: Mon, 22 Mar 2010 01:55:47 GMT Subject: Re: "git add -i" with path gives "Argument list too long" Message-ID: <7veijd3ysc.fsf@alter.siamese.dyndns.org> In-Reply-To: <20100322014100.GA7717@coredump.intra.peff.net> Jeff King 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).