aboutsummaryrefslogtreecommitdiffstats
path: root/.github/checkdiff.sh
blob: 430aba4d59d853cf8d8df38c6d2dc426cf093d10 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh
set -e

if ! git diff-index --quiet HEAD --; then
    echo 'Uncommitted changes detected:'
    git diff-index HEAD --
    return 1
fi