BigW Consortium Gitlab

lint-conflicts.sh 132 Bytes
Newer Older
1 2 3 4 5
#!/bin/sh

output=`git ls-files -z | grep -zvE '\.(rb|js|haml)$' | xargs -0n1 grep -HEn '^<<<<<<< '`
echo $output
test -z "$output"