7 lines
99 B
Bash
Executable file
7 lines
99 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
DIFF=$( git diff . )
|
|
if [ "$DIFF" != "" ]; then
|
|
echo "$DIFF" >&2
|
|
exit 1
|
|
fi
|