push: further clean up fields of "struct ref"
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index d72b64d8b0958216e1f7266b11816c210be0efb9..12631a17d3367c8dd1478c9061fd214c291cd019 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -999,15 +999,16 @@ struct ref {
        unsigned char old_sha1[20];
        unsigned char new_sha1[20];
        char *symref;
-       unsigned int force:1,
+       unsigned int
+               force:1,
+               forced_update:1,
                merge:1,
-               nonfastforward:1,
-               not_forwardable: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,