Search code examples
gitintellij-ideablame

ignore whitespace/identation in annotate mode with Intelliji and git


git blame , on a file , give for each line which was the last commit who have update the line.(like the annotate action on the IDE)

git blame -w do the same , but only if the commit do more than indentatation or whitespace.

My issue is, how can I ignore the whitespace with annotate on intelliji?

There is an option for that if I use SVN with Intelliji, but I cannot find-it on git.


Solution

  • IntelliJ uses git blame -w by default, as described in this question: IntelliJ annotate vs git blame

    But there isn't an option to change this behaviour as it is hardcoded into the IDEA Git plugin.