Sorry for non-Kotlin question, but looks like some...
# intellij
a
Sorry for non-Kotlin question, but looks like some IJ people who know details are here I'm trying to run IJ command-line code formatting in git
pre-commit
hook. Looks like when I run IJ formatting — IJ talks to
git
which results in additional
.git/index.lock
file created which later results in git erroring due to multiple lock files I've tried to isolate problem and exclude different parts of
pre-commit
hook, looks like only calling IJ code formatter causes that weird git locks behavior I've also tried to delete
git4idea
and
github
plugins from IJ distribution I use for formatting, but that didn't help 😞 Do you think it's IJ behavior and can I prevent it other than working with temporary folders instead of project folder?
stackoverflow 1
c
Respectfully, people who are here expect Kotlin-related discussion and questions, general IntelliJ questions should go to stack-overflow or other relevant media. By posting it here you are wasting time of the people who do not want to deal with stuff not related to Kotlin. Also you're discouraging those people to check posts in this slack. Please do not do this in the future. On top of all these reasons it is discouraged to answer non-kotlin related queries, so you're less likely to get any help here than on some more relevant resource. Sincerely wish you good luck with resolving the issue.
4
o
Also, please note the topic, it’s explicitly says what to do.
a
Apologies, will post on SO. Would be great to enforce this in other channels as well :)