assume parse_commit checks commit->object.parsed
[gitweb.git] / builtin / name-rev.c
index 0aaa19e4abeb462b2f1d05d5e03aa29bee810db8..26f40330e30842ffb9995f32be9604bec9e1f940 100644 (file)
@@ -27,8 +27,7 @@ static void name_rev(struct commit *commit,
        struct commit_list *parents;
        int parent_number = 1;
 
-       if (!commit->object.parsed)
-               parse_commit(commit);
+       parse_commit(commit);
 
        if (commit->date < cutoff)
                return;