@@ -2459,25 +2459,25 @@ static void install_result(struct gh__request_params *params,
2459
2459
install_prefetch (params , status );
2460
2460
return ;
2461
2461
}
2462
- }
2463
-
2464
- if (!strcmp (status -> content_type .buf , "application/x-git-packfile" )) {
2465
- assert (params -> b_is_post );
2466
- assert (params -> objects_mode == GH__OBJECTS_MODE__POST );
2462
+ } else {
2463
+ if (!strcmp (status -> content_type .buf , "application/x-git-packfile" )) {
2464
+ assert (params -> b_is_post );
2465
+ assert (params -> objects_mode == GH__OBJECTS_MODE__POST );
2467
2466
2468
- install_packfile (params , status );
2469
- return ;
2470
- }
2467
+ install_packfile (params , status );
2468
+ return ;
2469
+ }
2471
2470
2472
- if (!strcmp (status -> content_type .buf ,
2473
- "application/x-git-loose-object" )) {
2474
- /*
2475
- * We get these for "gvfs/objects" GET and POST requests.
2476
- *
2477
- * Note that this content type is singular, not plural.
2478
- */
2479
- install_loose (params , status );
2480
- return ;
2471
+ if (!strcmp (status -> content_type .buf ,
2472
+ "application/x-git-loose-object" )) {
2473
+ /*
2474
+ * We get these for "gvfs/objects" GET and POST requests.
2475
+ *
2476
+ * Note that this content type is singular, not plural.
2477
+ */
2478
+ install_loose (params , status );
2479
+ return ;
2480
+ }
2481
2481
}
2482
2482
2483
2483
strbuf_addf (& status -> error_message ,
0 commit comments