[Bug report] Multiline commit subject isn't detected correctly

Take this commit as an example: FIR IDE: move diagnostic highlighting to separate · JetBrains/kotlin@fa57071 · GitHub

Only “FIR IDE: move diagnostic highlighting to separate” is considered as a subject
image

Raw commit message:

FIR IDE: move diagnostic highlighting to separate
pass

git log -1 --pretty="%s" d8cbf2476de6ca880244457f3f9556dd623aedd5 output:

FIR IDE: move diagnostic highlighting to separate pass

So “pass” should be rendered as part of commit subject

%s is format for subject in git. See - Git - git-show Documentation

Consider it even further: it means that the fact that you shrink long commit messages in UI like here - IDEA-261048 Autodetect Eclipse projects and show them on the Welcome … · JetBrains/intellij-community@a3c0e8e · GitHub is incorrect behaviour because: git log -1 --pretty="%s" a3c0e8e60d5f7d2bf0e841b47542822ad54d5642 output is:

IDEA-261048 Autodetect Eclipse projects and show them on the Welcome Screen