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

Re: [PATCH] Add test cases for git-am

From
Stephan Beyer <s-beyer@gmx.net>
Date
May 31, 2008, 22:07 UTC
Message-ID
<20080531220723.GD5907@leksak.fem-net>
In-Reply-To
<7viqwuffdy.fsf@gitster.siamese.dyndns.org>
Hi,
Show 5 quoted lines
> "git grep 'tail.*+' -- '*.sh'" says that this will the first and only
> instance of "tail -n +<number>".  The syntax may be POSIX but not all
> /usr/bin/tail unfortunately knows about it.
> 
> I tend to prefer "sed -n -e '3,$p'" for things like this for portability.

I'm fine with that, but I sometimes wonder if systems that do not like "tail -n +3" really tend to like a "sed -n -e '3,$p'" :)

Well, Patch v2 follows. (Let's give git-send-email a chance.)

Regards,
  Stephan
-- 
Stephan Beyer <s-beyer@gmx.net>, PGP 0x6EDDD207FCC5040F
Previous: Junio C HamanoNext: Stephan Beyer
Message 6 of 10 in “Add test cases for git-am”
  1. Add test cases for git-amStephan Beyer, May 30, 2008
  2. Junio C HamanoMay 30, 2008
  3. Stephan BeyerMay 31, 2008
  4. Mutt and Mail-Followup-ToTeemu Likonen, May 31, 2008
  5. Junio C HamanoMay 31, 2008
  6. Stephan BeyerMay 31, 2008
  7. 1/2 Add test cases for git-amStephan Beyer, May 31, 2008
  8. 2/2 Merge t4150-am-subdir.sh and t4151-am.sh into t4150-am.shStephan Beyer, May 31, 2008
  9. Junio C HamanoMay 31, 2008
  10. Andreas EricssonJun 2, 2008

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.