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

Re: Small "git clean" annoyance

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Apr 1, 2011, 07:41 UTC
Message-ID
<vpq62qymn9f.fsf@bauges.imag.fr>
In-Reply-To
<AANLkTikksQj3HfOJmi-uZTfc7sTNNuDA4bFVaj2cY3Ad@mail.gmail.com>
Alex Riesen <raa.lkml@gmail.com> writes:
Show 6 quoted lines
> -	if (!dir)
> +	if (!dir) {
> +		if (rmdir(path->buf) == 0)
> +			return 0;
>  		return -1;
> +	}
Sounds good.
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Alex RiesenNext: Erik Faye-Lund
Message 3 of 6 in “Small "git clean" annoyance”
  1. Linus TorvaldsMar 31, 2011
  2. Alex RiesenApr 1, 2011
  3. Matthieu MoyApr 1, 2011
  4. Erik Faye-LundApr 1, 2011
  5. Alex RiesenApr 1, 2011
  6. Linus TorvaldsApr 1, 2011

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.