diff options
author | Nicolas Pitre <nico@cam.org> | 2005-05-20 16:59:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-20 15:41:45 -0700 |
commit | d1af002dc608be3213ba18df1a99ced0ab42e6d6 (patch) | |
tree | 191c45603eb3bc4aca09df7721bef8c740786ed5 /object.h | |
parent | 91d7b8afc2dc8bacde2012ad076cd8d0c4d36697 (diff) | |
download | git-d1af002dc608be3213ba18df1a99ced0ab42e6d6.tar.gz git-d1af002dc608be3213ba18df1a99ced0ab42e6d6.tar.xz |
[PATCH] delta check
This adds knowledge of delta objects to fsck-cache and various object
parsing code. A new switch to git-fsck-cache is provided to display the
maximum delta depth found in a repository.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'object.h')
-rw-r--r-- | object.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,10 +9,12 @@ struct object_list { struct object { unsigned parsed : 1; unsigned used : 1; + unsigned delta : 1; unsigned int flags; unsigned char sha1[20]; const char *type; struct object_list *refs; + struct object_list *attached_deltas; }; extern int nr_objs; |