pub fn pull_request_head_ref(
kind: IntegrationKind,
number: u64,
) -> Option<(String, String)>Expand description
Where a host keeps the head of pull/merge request number - the ref
a fork’s commits are fetched from - and the local branch name to
track it with: ("refs/pull/7/head", "pr/7") on GitHub,
("refs/merge-requests/7/head", "mr/7") on GitLab. None for hosts
that fetch a pull request by branch instead (CheckoutSource::Branch).