@@ -2393,25 +2393,25 @@ static void install_result(struct gh__request_params *params,
2393
2393
install_prefetch (params , status );
2394
2394
return ;
2395
2395
}
2396
- }
2397
-
2398
- if (!strcmp (status -> content_type .buf , "application/x-git-packfile" )) {
2399
- assert (params -> b_is_post );
2400
- assert (params -> objects_mode == GH__OBJECTS_MODE__POST );
2396
+ } else {
2397
+ if (!strcmp (status -> content_type .buf , "application/x-git-packfile" )) {
2398
+ assert (params -> b_is_post );
2399
+ assert (params -> objects_mode == GH__OBJECTS_MODE__POST );
2401
2400
2402
- install_packfile (params , status );
2403
- return ;
2404
- }
2401
+ install_packfile (params , status );
2402
+ return ;
2403
+ }
2405
2404
2406
- if (!strcmp (status -> content_type .buf ,
2407
- "application/x-git-loose-object" )) {
2408
- /*
2409
- * We get these for "gvfs/objects" GET and POST requests.
2410
- *
2411
- * Note that this content type is singular, not plural.
2412
- */
2413
- install_loose (params , status );
2414
- return ;
2405
+ if (!strcmp (status -> content_type .buf ,
2406
+ "application/x-git-loose-object" )) {
2407
+ /*
2408
+ * We get these for "gvfs/objects" GET and POST requests.
2409
+ *
2410
+ * Note that this content type is singular, not plural.
2411
+ */
2412
+ install_loose (params , status );
2413
+ return ;
2414
+ }
2415
2415
}
2416
2416
2417
2417
strbuf_addf (& status -> error_message ,
0 commit comments