git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH Cogito] match pathnames in exclude handling

From
HAH. Peter Anvin <hpa@zytor.com>
Date
May 11, 2005, 21:30 UTC
Message-ID
<4282797A.5020001@zytor.com>
In-Reply-To
<20050511052546.GC11192@kiste.smurf.noris.de>
Matthias Urlichs wrote:
Show 9 quoted lines
> 
> I already did, last week. (I do need to cleanup my changes...)
> 
> The idea is that "foo" matches anywhere, "foo/bar" the exact pathname.
> As a special case, "./foo" matches in the root directory only.
> 
> NB: "*" can cross subdirectory paths, so "*/foo/bar" does match
> "a/b/c/foo/bar".
> 

How does that mean foo*.c would match foo/bar/quux.c? That's probably a bad thing.

I do like the (sadly, rarely used) convention that ** matches / whereas 
* doesn't.
	-hpa
Previous: Matthias UrlichsNext: Matthias Urlichs
Message 19 of 22 in “cg-init breaks if . contains sub-dir”
  1. cg-init breaks if . contains sub-dirBrandon Philips, May 9, 2005
  2. Morten WelinderMay 10, 2005
  3. Matthias UrlichsMay 10, 2005
  4. Brian GerstMay 10, 2005
  5. Jan-Benedict GlawMay 10, 2005
  6. Jan-Benedict GlawMay 10, 2005
  7. Matthias UrlichsMay 10, 2005
  8. Martin WaitzMay 10, 2005
  9. Jan-Benedict GlawMay 10, 2005
  10. David GreavesMay 10, 2005
  11. David GreavesMay 10, 2005
  12. Junio C HamanoMay 10, 2005
  13. Jan-Benedict GlawMay 10, 2005
  14. Matthias UrlichsMay 10, 2005
  15. Jan-Benedict GlawMay 10, 2005
  16. Matthias UrlichsMay 10, 2005
  17. David MansfieldMay 10, 2005
  18. match pathnames in exclude handlingMatthias Urlichs, May 11, 2005
  19. H. Peter AnvinMay 11, 2005
  20. Matthias UrlichsMay 12, 2005
  21. H. Peter AnvinMay 10, 2005
  22. Petr BaudisMay 12, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.