Open BlakeFreer opened 2 days ago
Hi Blake,
I tried reproducing the error but was unsuccessful. It seems to be working fine on my machine. I looked online and it seems that this can happen when you have another git process open like a second commit, or editor window opened by git. There could have been an issue regarding a previous git process which crashed leaving a lock file active. This can be deleted using rm -f .git/index.lock
People also mentioned that I could add the --force
parameter to bypass this error.
Could you try to see if this works with the new changes as I cannot get this error.
Thanks
I regularly get this error with the pre-commit clang format hook
What is the cause of this? Has anyone else seen it or can reproduce it? I end up disabling pre-commit since I can't commit with it