Commit 9c25f925 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '5856-fix-git-diff-ignore-syntax' into 'master'

Resolve "The `ee-specific-lines-check` should ignore files under `ee/`"

Closes #5856

See merge request gitlab-org/gitlab-ee!5549
parents 59654e0e 37c0c929
...@@ -60,7 +60,7 @@ module EESpecificCheck ...@@ -60,7 +60,7 @@ module EESpecificCheck
def updated_diff_numstat(from, to) def updated_diff_numstat(from, to)
scan_diff_numstat( scan_diff_numstat(
run_git_command("diff #{from}..#{to} --numstat -- . '!ee'")) run_git_command("diff #{from}..#{to} --numstat -- . ':!ee'"))
end end
def find_remote_ce_branch def find_remote_ce_branch
......
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