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

Re: [PATCH] am: don't infloop for an empty input file

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 26, 2012, 23:58 UTC
Message-ID
<7vty2dcflb.fsf@alter.siamese.dyndns.org>
In-Reply-To
<87399y24wt.fsf@rho.meyering.net>
Jim Meyering <jim@meyering.net> writes:
> Today, "git am" surprised me.
> I mistakenly ran it on an empty file and it went into an infinite loop.
Yeah, that is an embarrassing regression in 1.7.7.
Thanks for noticing.
Previous: Jim Meyering
Message 2 of 2 in “am: don't infloop for an empty input file”
  1. am: don't infloop for an empty input fileJim Meyering, Feb 25, 2012
  2. Junio C HamanoFeb 26, 2012

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.