File: check-changes.sh

package info (click to toggle)
obs-3d-effect 0.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 532 kB
  • sloc: ansic: 345; makefile: 23; cpp: 16
file content (11 lines) | stat: -rwxr-xr-x 238 bytes parent folder | download | duplicates (42)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
dirty=$(git ls-files --modified)

set +x
if [[ $dirty ]]; then
	echo "================================="
    echo "Files were not formatted properly"
    echo "$dirty"
    echo "================================="
    exit 1
fi