Commit fbd3a476 authored by Thong Kuah's avatar Thong Kuah

Search for conflict headers everywhere

We seem to have restricted to only no haml, nor js, nor rb because we
can rely on tests. But since the new scripts is orders of magnitude
faster, we can include all files by default.

We need to exclude two files for now as these have conflict headers as
part of their tests.
parent b15d9941
#!/bin/sh #!/bin/sh
output=`git grep -En '^<<<<<<< ' -- . ':(exclude)*.haml' ':(exclude)*.js' ':(exclude)*.rb'` output=`git grep -En '^<<<<<<< ' -- . ':(exclude)spec/lib/gitlab/conflict/file_spec.rb' ':(exclude)spec/lib/gitlab/git/conflict/parser_spec.rb'`
echo $output echo $output
test -z "$output" test -z "$output"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment