debian-mirror-gitlab/scripts/lint-conflicts.sh

6 lines
187 B
Bash
Raw Normal View History

2017-09-10 17:25:29 +05:30
#!/bin/sh
2020-01-01 13:55:28 +05:30
output=`git grep -En '^<<<<<<< ' -- . ':(exclude)spec/lib/gitlab/conflict/file_spec.rb' ':(exclude)spec/lib/gitlab/git/conflict/parser_spec.rb'`
2017-09-10 17:25:29 +05:30
echo $output
test -z "$output"