Re: [PATCH] t/t7300: workaround ancient touch by rearranging arguments

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

 



On Sat, Sep 18, 2010 at 01:26:25AM +0200, Sverre Rabbelier wrote:

> On Thu, Sep 16, 2010 at 02:31, Jeff King <peff@xxxxxxxx> wrote:
> > Hmm, this seemed eerily familiar, and sure enough:
> >
> >  http://article.gmane.org/gmane.comp.version-control.git/101270
> 
> Does this call for a git_touch which does a regular 'touch' for each
> of its arguments?

I don't know the broken touch's behavior, and I don't have it handy. It
might handle "touch 1" fine or it might interpret it as "touch at time
1, no file arguments". Brandon's solution is good enough for a test
script.

If you really wanted a portable git_touch, you would spell it ">>$file".

-Peff
--
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]