diff options
Diffstat (limited to 'src/git/handlers.rs')
| -rw-r--r-- | src/git/handlers.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/git/handlers.rs b/src/git/handlers.rs index 6d2e2d7..ff55e34 100644 --- a/src/git/handlers.rs +++ b/src/git/handlers.rs | |||
| @@ -181,6 +181,7 @@ pub async fn handle_upload_pack( | |||
| 181 | /// * `identifier` - The repository identifier (d tag) for authorization lookup | 181 | /// * `identifier` - The repository identifier (d tag) for authorization lookup |
| 182 | /// * `owner_pubkey` - The owner's public key (hex) from the URL path, scoping authorization | 182 | /// * `owner_pubkey` - The owner's public key (hex) from the URL path, scoping authorization |
| 183 | /// * `git_data_path` - Base path for git repositories (for syncing to other owner repos) | 183 | /// * `git_data_path` - Base path for git repositories (for syncing to other owner repos) |
| 184 | #[allow(clippy::too_many_arguments)] | ||
| 184 | pub async fn handle_receive_pack( | 185 | pub async fn handle_receive_pack( |
| 185 | repo_path: PathBuf, | 186 | repo_path: PathBuf, |
| 186 | request_body: Bytes, | 187 | request_body: Bytes, |
| @@ -204,7 +205,7 @@ pub async fn handle_receive_pack( | |||
| 204 | ); | 205 | ); |
| 205 | 206 | ||
| 206 | // check push is authorised | 207 | // check push is authorised |
| 207 | let auth_result = match authorize_push( | 208 | let _auth_result = match authorize_push( |
| 208 | &database, | 209 | &database, |
| 209 | identifier, | 210 | identifier, |
| 210 | owner_pubkey, | 211 | owner_pubkey, |