debian-mirror-gitlab/scripts/lint-conflicts.sh
2020-01-01 13:55:28 +05:30

5 lines
187 B
Bash
Executable file

#!/bin/sh
output=`git grep -En '^<<<<<<< ' -- . ':(exclude)spec/lib/gitlab/conflict/file_spec.rb' ':(exclude)spec/lib/gitlab/git/conflict/parser_spec.rb'`
echo $output
test -z "$output"