sab
sab

Reputation: 5022

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.

Upvotes: 7

Views: 2038

Answers (2)

Dmitrii Smirnov
Dmitrii Smirnov

Reputation: 7528

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

Upvotes: 3

lslah
lslah

Reputation: 556

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.

Upvotes: 11

Related Questions