summaryrefslogtreecommitdiff
path: root/builtin-fmt-merge-msg.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-07-13 23:38:11 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-13 23:38:40 -0700
commitbf6d324e7333f62f6aee56ebb886e82e1f49e1ce (patch)
tree946411bff17166b4d30cc7cfec4b8583a05382a7 /builtin-fmt-merge-msg.c
parent06d30f4f3eea71bce4cf48db3ea384976b3983b7 (diff)
parente5a78b1ca8b62aee8567d67f0e0db5ac7706806a (diff)
downloadgit-bf6d324e7333f62f6aee56ebb886e82e1f49e1ce.tar.gz
Merge branch 'lt/unitype' into js/c-merge-recursive
* lt/unitype: builtin-prune.c: forgot TYPE => OBJ changes. Remove TYPE_* constant macros and use object_type enums consistently.
Diffstat (limited to 'builtin-fmt-merge-msg.c')
-rw-r--r--builtin-fmt-merge-msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-fmt-merge-msg.c b/builtin-fmt-merge-msg.c
index fe0ef44b40..f20b27b8a9 100644
--- a/builtin-fmt-merge-msg.c
+++ b/builtin-fmt-merge-msg.c
@@ -181,7 +181,7 @@ static void shortlog(const char *name, unsigned char *sha1,
int flags = UNINTERESTING | TREECHANGE | SEEN | SHOWN | ADDED;
branch = deref_tag(parse_object(sha1), sha1_to_hex(sha1), 40);
- if (!branch || branch->type != TYPE_COMMIT)
+ if (!branch || branch->type != OBJ_COMMIT)
return;
setup_revisions(0, NULL, rev, NULL);