File: check-changes.sh

package info (click to toggle)
obs-stroke-glow-shadow 1.5.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,376 kB
  • sloc: ansic: 3,316; sh: 153; makefile: 27; cpp: 16
file content (11 lines) | stat: -rwxr-xr-x 238 bytes parent folder | download | duplicates (47)
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