On Sat, Sep 18, 2010 at 01:26:25AM +0200, Sverre Rabbelier wrote:
On Thu, Sep 16, 2010 at 02:31, Jeff King [off-list ref] wrote:
quoted
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