diff options
author | Brandon Casey <drafnel@gmail.com> | 2008-11-12 11:59:03 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-11-12 10:28:08 -0800 |
commit | 8d25931d6ff47a7fb06512d767d1d416d9bc7733 (patch) | |
tree | 81a5c69309c1eec4ad8bb723b20998b4a9aa4aa6 /cache.h | |
parent | 9245ddd515d0fb5da52da4fd4dfc71460e98db90 (diff) | |
download | git-8d25931d6ff47a7fb06512d767d1d416d9bc7733.tar.gz git-8d25931d6ff47a7fb06512d767d1d416d9bc7733.tar.xz |
packed_git: convert pack_local flag into a bitfield and add pack_keep
pack_keep will be set when a pack file has an associated .keep file.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |