Commit be35346b authored by Rémy Coutable's avatar Rémy Coutable

Set `ref_fetched` to `true` in Github::Import#fetch_pull_requests

Since we fetch all the refs we need at the beginning of the import
process, we can safely set this attribute.
Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 67de21c1
...@@ -151,6 +151,7 @@ module Github ...@@ -151,6 +151,7 @@ module Github
iid: pull_request.iid, iid: pull_request.iid,
title: pull_request.title, title: pull_request.title,
description: description, description: description,
ref_fetched: true,
source_project: pull_request.source_project, source_project: pull_request.source_project,
source_branch: pull_request.source_branch_name, source_branch: pull_request.source_branch_name,
source_branch_sha: pull_request.source_branch_sha, source_branch_sha: pull_request.source_branch_sha,
......
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