From aa24c9057c055247ddd6c780ad5b2874d476b99c Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 6 Aug 2024 16:32:13 +0100 Subject: fix(remote): `list` correct proposal refs as the `refs/heads/` prefix wasn't present --- src/git_remote_helper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/git_remote_helper.rs') diff --git a/src/git_remote_helper.rs b/src/git_remote_helper.rs index d4aee42..d7363cf 100644 --- a/src/git_remote_helper.rs +++ b/src/git_remote_helper.rs @@ -292,7 +292,7 @@ async fn list( // we will need to check whether the commit id exists in the repo or apply the // proposal and each patch to check if let Ok(commit_id) = get_commit_id_from_patch(patch) { - state.insert(branch_name, commit_id); + state.insert(format!("refs/heads/{branch_name}"), commit_id); } } } -- cgit v1.2.3