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

Nopeinger <sebastian.englbre...@kabelmail.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1
                 CC|                            |sebastian.englbrecht@kabelm
                   |                            |ail.de

--- Comment #2 from Nopeinger <sebastian.englbre...@kabelmail.de> ---
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

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

Reply via email to