Sync with 1.7.6.1
[gitweb.git] / builtin / branch.c
index 63f4e69925d4c6e7db88db26ce080f09e348c8e8..3142daa57a6fa1c8a7d21095946bf5d26443d0e0 100644 (file)
@@ -399,9 +399,7 @@ static void add_verbose_info(struct strbuf *out, struct ref_item *item,
        struct commit *commit = item->commit;
 
        if (commit && !parse_commit(commit)) {
-               struct pretty_print_context ctx = {0};
-               pretty_print_commit(CMIT_FMT_ONELINE, commit,
-                                   &subject, &ctx);
+               pp_commit_easy(CMIT_FMT_ONELINE, commit, &subject);
                sub = subject.buf;
        }