push: rename config variable for more general use
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index d72b64d8b0958216e1f7266b11816c210be0efb9..a32a0ea91c11f747a4612cc5c0b773635ec426c9 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -999,15 +999,19 @@ struct ref {
        unsigned char old_sha1[20];
        unsigned char new_sha1[20];
        char *symref;
-       unsigned int force:1,
+       unsigned int
+               force:1,
+               requires_force:1,
                merge:1,
                nonfastforward:1,
                not_forwardable:1,
+               update:1,
                deletion:1;
        enum {
                REF_STATUS_NONE = 0,
                REF_STATUS_OK,
                REF_STATUS_REJECT_NONFASTFORWARD,
+               REF_STATUS_REJECT_ALREADY_EXISTS,
                REF_STATUS_REJECT_NODELETE,
                REF_STATUS_UPTODATE,
                REF_STATUS_REMOTE_REJECT,