Skip to content

Commit

Permalink
And finally fix line endings?
Browse files Browse the repository at this point in the history
  • Loading branch information
Obi-Dann committed Apr 13, 2021
1 parent 3d48b93 commit d7072bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion __test__/verify-no-unstaged-changes.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash
# from https://github.com/actions/checkout/blob/25a956c84d5dd820d28caab9f86b8d183aeeff3d/__test__/verify-no-unstaged-changes.sh

DIFF=$(git diff --text --ignore-all-space)
git add . --renormalize

DIFF=$(git diff --staged --text --ignore-all-space)
if [[ '$DIFF' ]]; then
echo ----------------------------------------
echo git status
Expand Down

0 comments on commit d7072bd

Please sign in to comment.