Skip to content

Commit

Permalink
Add missing tools
Browse files Browse the repository at this point in the history
  • Loading branch information
boreq committed Jun 20, 2023
1 parent 8a8bd6f commit 839cd4e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _tools/check_repository_unchanged.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

if [ -n "$(git status --porcelain 2>&1)" ]; then
echo "Detected changes in the repository!";
git --no-pager diff;
exit 1;
else
echo "No changes detected in the repository.";
fi

0 comments on commit 839cd4e

Please sign in to comment.