We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4d7ddd commit 778fdbeCopy full SHA for 778fdbe
ghstack/checkout.py
@@ -15,7 +15,9 @@ def main(
15
remote_name: str,
16
) -> None:
17
18
- params = ghstack.github_utils.parse_pull_request(pull_request)
+ params = ghstack.github_utils.parse_pull_request(
19
+ pull_request, sh=sh, remote_name=remote_name
20
+ )
21
head_ref = github.get_head_ref(**params)
22
orig_ref = re.sub(r"/head$", "/orig", head_ref)
23
if orig_ref == head_ref:
0 commit comments