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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sat, 17 May 2008, Mike Hommey wrote:

> 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux