Re: [RFC] Making ce_path_match() more useful by accepting globs
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Nov 26, 2007, 00:11 UTC
- 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:
Show 6 quoted lines
> 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 <torvalds"@linux-fundation.org