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

Re: how to ignore all .xvpics directories

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 3, 2008, 11:49 UTC
Message-ID
<m3d4hdf2qp.fsf@localhost.localdomain>
In-Reply-To
<490ECE54.5090505@melosgmbh.de>
Christoph Duelli <duelli@melosgmbh.de> writes:
Show 9 quoted lines
> Is it possible to ignore (once and for all) that directories like
> .pics or .xvpics (that might occur all over the place where xv was
> called) should be ignored?
> 
> [ Note: some time ago this issue has already popped up:
> http://thread.gmane.org/gmane.comp.version-control.git/50504
> 
> However, adding a line with just .xvpics in the toplevel .gitignore
> does not help. Neither does /**/.xvpics

Could you reproduce the steps you tried? Because I have checked, and putting .xvpics or .xvpics/ in top level .gitignore (or in .git/info/excludes, or ~/.gitignore) works as expected: filename without '/' in it is match agains _basename_.

Note that .gitignore is about contents which is not tracked (not known to git). If you added .xvpics to commit by accident, .gitignore will do nothing then.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Christoph DuelliNext: Christoph Duelli
Message 2 of 4 in “how to ignore all .xvpics directories”
  1. Christoph DuelliNov 3, 2008
  2. Jakub NarebskiNov 3, 2008
  3. Christoph DuelliNov 3, 2008
  4. Matthieu MoyNov 3, 2008

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.