git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] t/annotate-tests: Use echo & cat instead of sed

From
Arjen Laarhoven <arjen@yaph.org>
Date
May 5, 2011, 07:43 UTC
Message-ID
<20110505074343.GA17328@regex.yaph.org>
In-Reply-To
<7vk4e5bt90.fsf@alter.siamese.dyndns.org>
On Wed, May 04, 2011 at 10:39:55PM -0700, Junio C Hamano wrote:
Show 13 quoted lines
> An earlier patch from Arjen Laarhoven
> 
>   From: Arjen Laarhoven <arjen@yaph.org>
>   Subject: [PATCH] annotate.sh: Fix failing test on OS X
>   Date: Wed,  4 May 2011 15:36:21 +0200
>   Message-ID: <1304516181-92364-1-git-send-email-arjen@yaph.org>
> 
> seems to attempt to address the same issue but with a twist to deal with
> an incomplete line at the end of file.
> 
> Arjen, does Brian's patch look good to you, too?  It is much less tricky
> and should look obviously correct even to people who sees the code in
> question for the first time.

Yup, this looks much better than my fix. At least I learned something about the sed incompatibilities ;-)

Arjen
-- 
Arjen Laarhoven

The presence of those seeking the truth is infinitely to be preferred to 
those who think they've found it.
                                -- Terry Pratchett, "Monstrous Regiment"
Previous: Junio C Hamano
Message 3 of 3 in “t/annotate-tests: Use echo & cat instead of sed”
  1. t/annotate-tests: Use echo & cat instead of sedBrian Gernhardt, May 5, 2011
  2. Junio C HamanoMay 5, 2011
  3. Arjen LaarhovenMay 5, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.