Bug 382850 - KDevelop should not interfere with git
Summary: KDevelop should not interfere with git
Status: RESOLVED DUPLICATE of bug 379219
Alias: None
Product: kdevelop
Classification: Applications
Component: VCS: Git (other bugs)
Version First Reported In: 5.1.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-28 10:17 UTC by Daniel Santos
Modified: 2017-07-28 10:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Santos 2017-07-28 10:17:34 UTC
I was performing a rebase while KDevelop was open with one of the source files opened and I kept getting this abhorrent message:

(daniel@loudmouth)$ git rebase -i master
fatal: Unable to create '/home/daniel/proj/sys/gcc/git/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

I would check, but by the type I typed ll /home/daniel/proj/sys/gcc/git/.git/index.lock, the file no longer existed.  I closed KDevelop and repeated the command with success.

I realize that KDevelop detects alteration of files, but it's response should not be to break the very normal process that is altering them.
Comment 1 Sven Brauch 2017-07-28 10:53:59 UTC

*** This bug has been marked as a duplicate of bug 379219 ***