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

Re: git-clean fails to remove a file whose name contains \\, ", or \n, TAB, etc.

From
Karl Hasselström <kha@treskal.com>
Date
May 8, 2007, 23:27 UTC
Message-ID
<20070508232702.GB5866@diana.vm.bytemark.co.uk>
In-Reply-To
<86wszi9a5r.fsf@blue.stonehenge.com>
On 2007-05-08 16:18:40 -0700, Randal L. Schwartz wrote:
Show 8 quoted lines
> >>>>> "Jan" == Jan Hudec <bulb@ucw.cz> writes:
>
> Jan> Than I can't think of anything other than xargs -0.
>
> git-ls-files -z .... |
> perl -0lne '
>    $_ is each name here
> '
Have you seen this?
  http://xkcd.com/c224.html
-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Randal L. SchwartzNext: Randal L. Schwartz
Message 6 of 8 in “git-clean fails to remove a file whose name contains \\, ", or \n, TAB, etc.”
  1. Jim MeyeringMay 8, 2007
  2. Randal L. SchwartzMay 8, 2007
  3. Junio C HamanoMay 8, 2007
  4. Jan HudecMay 8, 2007
  5. Randal L. SchwartzMay 8, 2007
  6. Karl HasselströmMay 8, 2007
  7. Randal L. SchwartzMay 8, 2007
  8. Karl HasselströmMay 8, 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.