File: check-changes.sh

package info (click to toggle)
obs-scene-collection-manager 0.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 508 kB
  • sloc: cpp: 1,563; makefile: 24
file content (11 lines) | stat: -rwxr-xr-x 238 bytes parent folder | download | duplicates (45)
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