From: Jeff King <peff@peff.net>
To: Sverre Rabbelier <srabbelier@gmail.com>
Cc: Brandon Casey <casey@nrlssc.navy.mil>,
gitster@pobox.com, git@vger.kernel.org,
Brandon Casey <drafnel@gmail.com>
Subject: Re: [PATCH] t/t7300: workaround ancient touch by rearranging arguments
Date: Fri, 17 Sep 2010 23:46:19 -0400 [thread overview]
Message-ID: <20100918034619.GA18343@sigill.intra.peff.net> (raw)
In-Reply-To: <AANLkTinKxSugWedXxLPkSUKyRBBkTimawVY23+A5nzsZ@mail.gmail.com>
On Sat, Sep 18, 2010 at 01:26:25AM +0200, Sverre Rabbelier wrote:
> On Thu, Sep 16, 2010 at 02:31, Jeff King <peff@peff.net> 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
prev parent reply other threads:[~2010-09-18 3:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-15 20:58 [PATCH] t/t7300: workaround ancient touch by rearranging arguments Brandon Casey
2010-09-15 22:08 ` Junio C Hamano
2010-09-16 0:31 ` Jeff King
2010-09-17 23:26 ` Sverre Rabbelier
2010-09-18 3:46 ` Jeff King [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100918034619.GA18343@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=casey@nrlssc.navy.mil \
--cc=drafnel@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=srabbelier@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).