IntelliJ annotate vs git blame

旧城冷巷雨未停 提交于 2019-12-05 03:36:11

IntelliJ IDEA does not have its own algorithm for calculating annotations; it simply runs the standard git blame command and parses its output. There is no way to force it to behave differently.

You can find the code implementing the Annotate command in the IntelliJ IDEA Git plugin here.

You were right, the source linked in yole's answer shows that the plugin is calling git blame with the -w option, which ignores whitespace differences. This behavior doesn't seem to be modifiable.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!