]> git.ipfire.org Git - thirdparty/git.git/blobdiff - transport-helper.c
transport-helper: recognize "expecting report" error from send-pack
[thirdparty/git.git] / transport-helper.c
index 4be035edb8b7c6d618b4dc78ea5de203a2831391..56e36a4cf4616bf987c38274f28f7ededb52a286 100644 (file)
@@ -845,6 +845,10 @@ static int push_update_ref_status(struct strbuf *buf,
                        forced = 1;
                        FREE_AND_NULL(msg);
                }
+               else if (!strcmp(msg, "expecting report")) {
+                       status = REF_STATUS_EXPECTING_REPORT;
+                       FREE_AND_NULL(msg);
+               }
        }
 
        if (state->hint)