File: no-diff.sh

package info (click to toggle)
pyglossary 5.0.9-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,896 kB
  • sloc: python: 46,165; sh: 308; javascript: 100; xml: 42; makefile: 28
file content (7 lines) | stat: -rwxr-xr-x 153 bytes parent folder | download
1
2
3
4
5
6
7
CHANGES=$(git diff --name-only HEAD --)
if [ -n "$CHANGES" ]; then
	echo "There are changes after running gen.sh:"
	echo "$CHANGES"
	git diff
	exit 1
fi