Skip to content

Commit 4adbd11

Browse files
committed
update pre commit
1 parent e546b46 commit 4adbd11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if [ "$spotlessExitCode" -ne 0 ]; then
4545
fi
4646

4747
# Spotless possibly found changes, apply them, excluding untracked files
48-
git add -u
48+
git add --renormalize -u
4949

5050
# Restore back the unstaged changes
5151
pop_stash

0 commit comments

Comments
 (0)