debian-mirror-gitlab/scripts/lint-conflicts.sh
2017-09-10 17:25:29 +05:30

5 lines
132 B
Bash
Executable file

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