Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 664
sab Avatar asked Jun 16 '16 19:06

sab


2 Answers

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.

like image 152
lslah Avatar answered Sep 29 '22 08:09

lslah


An option to configure the behavior for git appeared in 2018.3 release.

like image 44
Dmitriy Smirnov Avatar answered Sep 29 '22 08:09

Dmitriy Smirnov