Deleting locked file doesn't remove the lock prehook
When a person locks a file and then deletes the file, the file remains locked even though it no longer exists.
Steps to reproduce:
- User locks file
- User deletes file that they locked
- File remains locked, preventing pushes to the repo even though the file doesn't exist anymore.
The UI will show the file that was locked so it can be removed currently:
Proposal
If a user locks a file and then deletes said file, there should be no prehook that marks the file as locked anymore because the file doesn't exist.
