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

Re: [PATCH] stash: end commit log with a newline

From
Jeff King <peff@peff.net>
Date
Jul 3, 2007, 14:32 UTC
Message-ID
<20070703143227.GD18597@coredump.intra.peff.net>
In-Reply-To
<Pine.LNX.4.64.0707031228460.4071@racer.site>
On Tue, Jul 03, 2007 at 12:29:42PM +0100, Johannes Schindelin wrote:
Show 5 quoted lines
> Why not
> 
> 	w_commit=$(echo "WIP on $msg" |
> 
> Hmm? It is shorter and more to the point. IMHO it is also more common.
Because echo cannot reliably reproduce arbitrary strings. See commits:
  a23bfaed..4b7cc26a
You can add this to your list of reasons to rewrite everything in C.
-Peff
Previous: Uwe Kleine-KönigNext: しらいしななこ
Message 4 of 8 in “stash: end commit log with a newline”
  1. stash: end commit log with a newlineUwe Kleine-König, Jul 3, 2007
  2. Johannes SchindelinJul 3, 2007
  3. Uwe Kleine-KönigJul 3, 2007
  4. Jeff KingJul 3, 2007
  5. しらいしななこJul 4, 2007
  6. Junio C HamanoJul 4, 2007
  7. Uwe Kleine-KönigJul 4, 2007
  8. しらいしななこJul 4, 2007

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.