From: Shawn O. Pearce Date: Tue, 01 Sep 2009 23:15:24 GMT Subject: Re: [JGIT PATCH] fixed error in whitespace handling of RefDatabase#readLine Message-ID: <20090901231524.GA1033@spearce.org> In-Reply-To: <196796.47610.qm@web27808.mail.ukl.yahoo.com> Mark Struberg 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.