From: jidanni@jidanni.org Date: Thu, 18 Dec 2008 20:02:48 GMT Subject: git-rm -n leaves .git/index.lock if not allowed to finish Message-ID: <87prjptfo7.fsf@jidanni.org> Bug: if git-rm -n is not allowed to write all it wants to write, it will leave a .git/index.lock file: # git-rm -n -r . 2>&1|sed q error: '.etckeeper' has changes staged in the index # git-rm -n -r . 2>&1|sed q fatal: unable to create '.git/index.lock': File exists