summaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2007-04-16 16:03:15 -0700
committerJunio C Hamano <junkio@cox.net>2007-04-16 16:51:09 -0700
commita59b276e18f3d4a548caf549e05188cb1bd3a709 (patch)
tree2633d6fd7b33dddee9c1d7ed35d6061bffc957ba /object.h
parent402fa75eed29c104ae5392ce88560f6bffc64ce7 (diff)
downloadgit-a59b276e18f3d4a548caf549e05188cb1bd3a709.tar.gz
Add a generic "object decorator" interface, and make object refs use it
This allows you to add an arbitrary "decoration" of your choice to any object. It's a space- and time-efficient way to add information to arbitrary objects, especially if most objects probably do not have the decoration. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'object.h')
-rw-r--r--object.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/object.h b/object.h
index bdbf0facd4..bdbbc1889c 100644
--- a/object.h
+++ b/object.h
@@ -8,7 +8,6 @@ struct object_list {
struct object_refs {
unsigned count;
- struct object *base;
struct object *ref[FLEX_ARRAY]; /* more */
};