aboutsummaryrefslogtreecommitdiffstats
path: root/server-info.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-07-14 15:39:19 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-14 15:39:19 -0700
commit5cd060b56c3d0b9f2340377d73dfe1abbcbe8a20 (patch)
treefc993f674db014236b94f3c6e147b1ac5b838699 /server-info.c
parentMerge branch 'sp/lazy-mkdir' (diff)
parentbuiltin-prune.c: forgot TYPE => OBJ changes. (diff)
downloadgit-5cd060b56c3d0b9f2340377d73dfe1abbcbe8a20.tar.gz
git-5cd060b56c3d0b9f2340377d73dfe1abbcbe8a20.zip
Merge branch 'lt/unitype'
* lt/unitype: builtin-prune.c: forgot TYPE => OBJ changes. Remove TYPE_* constant macros and use object_type enums consistently.
Diffstat (limited to 'server-info.c')
-rw-r--r--server-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-info.c b/server-info.c
index fdfe05a2da..7df628f2b2 100644
--- a/server-info.c
+++ b/server-info.c
@@ -12,7 +12,7 @@ static int add_info_ref(const char *path, const unsigned char *sha1)
struct object *o = parse_object(sha1);
fprintf(info_ref_fp, "%s %s\n", sha1_to_hex(sha1), path);
- if (o->type == TYPE_TAG) {
+ if (o->type == OBJ_TAG) {
o = deref_tag(o, path, 0);
if (o)
fprintf(info_ref_fp, "%s %s^{}\n",