From: Alex Riesen Date: Mon, 26 Nov 2007 00:11:14 GMT Subject: Re: [RFC] Making ce_path_match() more useful by accepting globs Message-ID: <20071126001114.GA10286@steel.home> In-Reply-To: <7vr6ienqxr.fsf@gitster.siamese.dyndns.org> Junio C Hamano, Sun, Nov 25, 2007 19:03:12 +0100: > Currently ce_path_match() only uses "the leading directory" match, and > does not understand file globs. These do not work: > > git diff-files 't/*.sh' > git diff-index HEAD 'xdiff/*.c' > git update-index -g 'Documentation/howto/*.txt' How should my scripts handle files with "*" in names? Maybe before the proposed change we should make all plumbing accept "--stdin" (which does not expand globs)? P.S. you have something broken in your mailer: To: Linus@sceptre.sasl.smtp.pobox.com, "Torvalds