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