diff options
Diffstat (limited to 'git-hooks/gerrit-bot')
-rwxr-xr-x | git-hooks/gerrit-bot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/gerrit-bot b/git-hooks/gerrit-bot index 6697d91..c46fbfa 100755 --- a/git-hooks/gerrit-bot +++ b/git-hooks/gerrit-bot @@ -226,7 +226,7 @@ sub process_commit($$$$$) $$verdict{notify} = "NONE"; } if (@invite) { - if (system(@gerrit_actor, "set-reviewers", (map { ('-a', $_) } @invite), '--', $rev)) { + if (system(@gerrit_actor, "set-reviewers", (map { ('-a', $_) } @invite), '-p', $project, '--', $rev)) { print "===== ".strftime("%c", localtime(time()))." ===== invitation FAILED\n"; printerr("Inviting reviewers to ".$rev." (".$project."/".$ref.") failed"); } else { |