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

Re: * [BUG] "git clean" does not pay attention to its parameters

From
Sam Ravnborg <sam@ravnborg.org>
Date
Dec 5, 2007, 10:50 UTC
Message-ID
<20071205105005.GA6961@uranus.ravnborg.org>
In-Reply-To
<7veje1zibm.fsf@gitster.siamese.dyndns.org>
On Tue, Dec 04, 2007 at 11:55:41PM -0800, Junio C Hamano wrote:
Show 9 quoted lines
> Nanako Shiraishi <nanako3@bluebottle.com> writes:
> 
> > In a repository with LaTeX documents, I tried to see what *.aux files are left behind after formatting, by running "git clean -n" with the latest git (1.5.3.7-1005-gdada0c1):
> >
> >   % git clean -n '*.aux'
> >
> > This however showed more than just '*.aux' files.  With the released version 1.5.3.6, the output is correctly limited to the files that match the pattern.
> 
> Yuck.  People actually use git-clean?

git clean -d -x is my friend. It it a great way to delete all my temporary files named 'kurt', 'fisk', 'viggo', 'x*' etc.

	Sam
Previous: Junio C HamanoNext: Shawn Bohrer
Message 5 of 9 in “[BUG] "git clean" does not pay attention to its parameters”
  1. Nanako ShiraishiDec 5, 2007
  2. Junio C HamanoDec 5, 2007
  3. Johannes SchindelinDec 5, 2007
  4. Junio C HamanoDec 5, 2007
  5. Sam RavnborgDec 5, 2007
  6. Shawn BohrerDec 5, 2007
  7. Junio C HamanoDec 6, 2007
  8. Jeff KingDec 5, 2007
  9. Jeff KingDec 6, 2007

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.