Skip to content
This repository was archived by the owner on Nov 13, 2022. It is now read-only.

Commit 4aa1e5b

Browse files
committed
Make sure we force push when the PR is updated.
This resolves #10.
1 parent baba696 commit 4aa1e5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ impl RepositoryExt for Repository {
201201
push_options.remote_callbacks(get_remote_callbacks(&config::CONFIG.gitlab));
202202

203203
let refspec = format!(
204-
"refs/heads/pr-{}/{}/{}:refs/heads/pr-{}/{}/{}",
204+
"+refs/heads/pr-{}/{}/{}:refs/heads/pr-{}/{}/{}",
205205
pr_handle.pr_number,
206206
pr_handle.head_full_name,
207207
pr_handle.gitref,

0 commit comments

Comments
 (0)