push: require force for refs under refs/tags/
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 722321c6da936492e297059ae07b6cf54f94d67d..a32a0ea91c11f747a4612cc5c0b773635ec426c9 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -999,7 +999,9 @@ 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,
@@ -1009,6 +1011,7 @@ struct ref {
                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,