Cosium / git-code-format-maven-plugin

A maven plugin that automatically deploys code formatters as pre-commit git hook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ghost unstaged files after commit

wli-git opened this issue · comments

After git commit with pre-commit hook, command "git status" shows formatted files as unstaged files, even though there is no real diff in the files.

$ git version
git version 2.23.0.windows.1

Same here, using the 2.0 release.

Can't edit my comment for some reason, but I assume it's a newline issue?

A test case must be provided.

I think it is fixed by #42.
If it is not, please reopen this issue.