diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-18 21:48:32 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-18 21:48:32 -0700 |
commit | 42d504248830452275dbe1c864f0b1771d7b1a05 (patch) | |
tree | 011c7f094bfcdd41f510461c720485c8fbf1791e /object.h | |
parent | Merge branch 'master' into next (diff) | |
parent | Support for extracting configuration from different files (diff) | |
download | tgif-42d504248830452275dbe1c864f0b1771d7b1a05.tar.xz |
Merge branch 'pb/config' into next
* pb/config:
Support for extracting configuration from different files
Fix PPC SHA1 routine for large input buffers
Make t8001-annotate and t8002-blame more portable
Remove "refs" field from "struct object"
Make release tarballs friendlier to older tar versions
Diffstat (limited to 'object.h')
-rw-r--r-- | object.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,6 +9,7 @@ struct object_list { struct object_refs { unsigned count; + struct object *base; struct object *ref[FLEX_ARRAY]; /* more */ }; @@ -28,7 +29,6 @@ struct object { unsigned type : TYPE_BITS; unsigned flags : FLAG_BITS; unsigned char sha1[20]; - struct object_refs *refs; }; extern int track_object_refs; @@ -41,6 +41,8 @@ static inline const char *typename(unsigned int type) return type_names[type > TYPE_TAG ? TYPE_BAD : type]; } +extern struct object_refs *lookup_object_refs(struct object *); + /** Internal only **/ struct object *lookup_object(const unsigned char *sha1); |