send-pack: tighten remote error reporting
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 8d601dd6f79d75b8c3b8ac65a56f73cf9b20cedf..e0c1cc3fe86944e7b45926e0fff2ba4a4377ecf2 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -504,8 +504,9 @@ struct ref {
                REF_STATUS_REJECT_NODELETE,
                REF_STATUS_UPTODATE,
                REF_STATUS_REMOTE_REJECT,
+               REF_STATUS_EXPECTING_REPORT,
        } status;
-       char *error;
+       char *remote_status;
        struct ref *peer_ref; /* when renaming */
        char name[FLEX_ARRAY]; /* more */
 };