packed_git: convert pack_local flag into a bitfield and add pack_keep
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index a1e4982cd424ec5c3695c2221583bca1bd861614..1a5740f5899628b2d2b3ed063b81f89a21308d67 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -671,7 +671,8 @@ extern struct packed_git {
        int index_version;
        time_t mtime;
        int pack_fd;
-       int pack_local;
+       unsigned pack_local:1,
+                pack_keep:1;
        unsigned char sha1[20];
        /* something like ".git/objects/pack/xxxxx.pack" */
        char pack_name[FLEX_ARRAY]; /* more */