Re: [JGIT PATCH] On error in DirCache.lock, do not leave the index locked.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"John J. Franey" <jjfraney@xxxxxxxxx> wrote:
> After using C git on the same repository, the jgit cache read
> threw an EOFException, and left the index lock file.
> The repository is still valid according to C git, but
> unreachable by C git because it honors the lock file
> left behind by jgit.

Urgh.  Thanks for the patch.
 
>  The reason for the EOFException is beyond me right now.  It
>  reported "Short read of block."  However, I'm pretty sure
>  leaving the lock file in place is an error.

If you can reproduce it, I'd like to see a copy of the index file
if that is possible.  I was pretty certain DirCache honors the
index file format properly, but a short read of a block suggests
we misread a length field somewhere.
 
-- 
Shawn.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux