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

Re: [JGIT PATCH] fixed error in whitespace handling of RefDatabase#readLine

From
Shawn O. Pearce <spearce@spearce.org>
Date
Sep 1, 2009, 23:15 UTC
Message-ID
<20090901231524.GA1033@spearce.org>
In-Reply-To
<196796.47610.qm@web27808.mail.ukl.yahoo.com>
Mark Struberg <struberg@yahoo.de> wrote:
> jgit fails with "cannot checkout; no HEAD advertised by remote"
> in guessHEAD on some repositories.
...
> @@ -500,8 +500,12 @@ private static String readLine(final File file)
>          int n = buf.length;
>          if (n == 0)
Whitespace damage here, the patch won't apply as-is.
Also, please line wrap your commit message.
-- 
Shawn.
Previous: Mark Struberg
Message 2 of 2 in “fixed error in whitespace handling of RefDatabase#readLine”
  1. fixed error in whitespace handling of RefDatabase#readLineMark Struberg, Sep 1, 2009
  2. Shawn O. PearceSep 1, 2009

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.