7

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.

sab
  • 4,352
  • 7
  • 36
  • 60

2 Answers2

11

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.

Community
  • 1
  • 1
lslah
  • 556
  • 8
  • 17
3

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

Dmitrii Smirnov
  • 7,073
  • 1
  • 19
  • 29