From: Jon Seymour Date: Sat, 25 Sep 2010 16:19:59 GMT Subject: Re: [PATCH v4 2/4] rev-parse: add tests for git rev-parse --flags. Message-ID: In-Reply-To: On Sun, Sep 26, 2010 at 12:27 AM, Ævar Arnfjörð Bjarmason wrote: > On Sat, Sep 25, 2010 at 13:33, Jon Seymour wrote: > >> +       : >expected && > > We've been dropping the ":>foo" style in favor of ">foo" in other > tests. There's no need for the ":". > >> +       echo -X > expected && >> +       echo -q > expected && >> +       echo -X > expected && >> +       echo --no-flags > expected && > > Maybe some echo implementations don't like flag-like params, and we need: > >    printf "%s\n" "-X" > > here. I don't know whether that's the case. > Thanks for the review. My latest revision incorporates this feedback, although I didn't use extra quotes around -X. (e.g. I wrote printf "%s\n" -X) jon.