git-rm -n leaves .git/index.lock if not allowed to finish
From: <hidden>
Date: 2016-06-15 22:45:48
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