git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [ENHANCEMENT] Allow '**' pattern in .gitignore
@ 2012-10-02  7:21 Ramkumar Ramachandra
  2012-10-02  7:58 ` Stefano Lattarini
  0 siblings, 1 reply; 9+ messages in thread
From: Ramkumar Ramachandra @ 2012-10-02  7:21 UTC (permalink / raw)
  To: Git List

Hi,

I've often found the '**' (extended) shell glob useful for matching
any string crossing directory boundaries: it's especially useful if
you only have a toplevel .gitignore, as opposed to a per-directory
.gitignore.  Unfortunately, .gitignore currently uses fnmatch(3), and
doesn't recognize '**'.  Would extending the .gitignore format to
accept this be a useful feature?  Would it involve re-implementing and
extending fnmatch, or is there some other way?

Ram

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-10-04 21:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-02  7:21 [ENHANCEMENT] Allow '**' pattern in .gitignore Ramkumar Ramachandra
2012-10-02  7:58 ` Stefano Lattarini
2012-10-02  8:24   ` Ramkumar Ramachandra
2012-10-03 11:35     ` Nguyen Thai Ngoc Duy
2012-10-03 13:35       ` Jens Lehmann
2012-10-03 13:42         ` Nguyen Thai Ngoc Duy
2012-10-03 13:51           ` Jens Lehmann
2012-10-03 17:51           ` Joshua Jensen
2012-10-04  1:34             ` Nguyen Thai Ngoc Duy

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).