diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-08-06 16:32:13 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-08-06 16:32:13 +0100 |
| commit | aa24c9057c055247ddd6c780ad5b2874d476b99c (patch) | |
| tree | 9c44c080699639e3486b940570a3a4036ee28a02 /src | |
| parent | 3300a1e4a463dcc007292ff3c3e4cf7cc2252e71 (diff) | |
fix(remote): `list` correct proposal refs
as the `refs/heads/` prefix wasn't present
Diffstat (limited to 'src')
| -rw-r--r-- | src/git_remote_helper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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( | |||
| 292 | // we will need to check whether the commit id exists in the repo or apply the | 292 | // we will need to check whether the commit id exists in the repo or apply the |
| 293 | // proposal and each patch to check | 293 | // proposal and each patch to check |
| 294 | if let Ok(commit_id) = get_commit_id_from_patch(patch) { | 294 | if let Ok(commit_id) = get_commit_id_from_patch(patch) { |
| 295 | state.insert(branch_name, commit_id); | 295 | state.insert(format!("refs/heads/{branch_name}"), commit_id); |
| 296 | } | 296 | } |
| 297 | } | 297 | } |
| 298 | } | 298 | } |