https://bugs.kde.org/show_bug.cgi?id=363576

Justin <justin.zo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |justin.zo...@gmail.com

--- Comment #3 from Justin <justin.zo...@gmail.com> ---
(In reply to Nopeinger from comment #2)
> I can reproduce the generation of a lockfile but it gets destroyed instantly.
> 
> After looking into the code of the plugin, I think the lockfile gets created
> while searching for the stati of the files, see:
> https://github.com/KDE/dolphin-plugins/blob/
> d69ced47023c52078854e96bcdfa6ec3675251ec/git/fileviewgitplugin.cpp#L176
> 
> The git status command generates a lockfile automatically.
> So in a way, by changing the folder you "manually" perform a git operation
> (unconsciously).
> 
> git status is locking because it is caching the status in the repository.
> It cannot be disabled in git.
> 
> We could try to use the workaround number 2 of 
> https://stackoverflow.com/questions/27706108/git-do-not-create-index-lock-
> for-read-only-operations

Nopeinger would you care to try your hand at a patch to Dolphin to not use a
lock file while doing read-only operations?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to