mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-07-25 17:08:32 +00:00
Make sure we didn't commit conflicts
This commit is contained in:

committed by
Rémy Coutable

parent
0bbf006454
commit
913aca1db9
5
scripts/lint-conflicts.sh
Executable file
5
scripts/lint-conflicts.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
output=`git ls-files -z | grep -zvE '\.(rb|js|haml)$' | xargs -0n1 grep -HEn '^<<<<<<< '`
|
||||
echo $output
|
||||
test -z "$output"
|
Reference in New Issue
Block a user