Use blob_, commit_, tag_, and tree_type throughout.
[git.git] / blame.c
diff --git a/blame.c b/blame.c
index 396defc..98f9992 100644 (file)
--- a/blame.c
+++ b/blame.c
@@ -229,7 +229,7 @@ static void get_blob(struct commit *commit)
 
        info->buf = read_sha1_file(info->sha1, type, &info->size);
 
-       assert(!strcmp(type, "blob"));
+       assert(!strcmp(type, blob_type));
 }
 
 /* For debugging only */