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.