git-rm -n leaves .git/index.lock if not allowed to finish
- From
jidanni@jidanni.org <jidanni@jidanni.org>
- Date
- Dec 18, 2008, 20:02 UTC
- 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