ignore whitespace/identation in annotate mode with Intelliji and git
Asked Answered
O

2

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.

Olfe answered 16/6, 2016 at 19:50 Comment(0)
N
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.

Neutrality answered 19/5, 2017 at 6:6 Comment(0)
T
3

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

Twinscrew answered 29/12, 2018 at 20:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.