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

Re: [PATCH] Add a -z option to 'git status' to safely feed shell programs with path names

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 17, 2008, 11:02 UTC
Message-ID
<alpine.DEB.1.00.0805171201420.30431@racer>
In-Reply-To
<20080517102600.GA10290@glandium.org>
Hi,
On Sat, 17 May 2008, Mike Hommey wrote:
Show 5 quoted lines
> On Sat, May 17, 2008 at 11:14:01AM +0100, Johannes Schindelin wrote:
>
> > git ls-files --others -z | xargs -0 -r rm
> 
> or git clean -f
>From how I understood Sebastian, I thought he wanted to script Git, not 

only to execute git clean. And we pride ourselves in having one of the most scriptable SCM ever.

So I thought I'd give him the proper _scriptable_ way to express things.

Ciao, Dscho

Previous: Mike Hommey
Message 5 of 5 in “Add a -z option to 'git status' to safely feed shell programs with path names”
  1. Add a -z option to 'git status' to safely feed shell programs with path namesSebastien Gross, May 17, 2008
  2. Shawn O. PearceMay 17, 2008
  3. Johannes SchindelinMay 17, 2008
  4. Mike HommeyMay 17, 2008
  5. Johannes SchindelinMay 17, 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.