Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Pack files are locked

On Thu, Jul 22, 2010 at 9:29 AM, Baumgart, Jens <jens.baumgart@xxxxxxx> wrote:
> When Egit is running, it is not possible to delete a git repo on the file
> system because pack files are locked:

Yes, because the files are open.  IIRC if EGit closed the Repository
when it was done with it, the Repository will close the
ObjectDatabase, which will close all of the PackFile objects, which
will try to ensure the file descriptors get closed.  Is EGit just not
closing the repository when the project is closed or the team provider
is detached?

-- 
Shawn.


Back to the top