gitlab-org--gitlab-foss/scripts/lint-conflicts.sh

6 lines
187 B
Bash
Raw Normal View History

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