X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=show-branch.c;h=ffe7456a6a8b44276a8779cabf16e4613b268ec0;hb=36b5b3c65948694d9a92de5a17f2b97c3cd84879;hp=7a0dcc649edaf6a823e15f60d04c6ce67348dc42;hpb=949964c4af740015c53cb7630fea8795e0f710a0;p=git.git diff --git a/show-branch.c b/show-branch.c index 7a0dcc64..ffe7456a 100644 --- a/show-branch.c +++ b/show-branch.c @@ -258,8 +258,8 @@ static void show_one_commit(struct commit *commit, int no_name) char pretty[256], *cp; struct commit_name *name = commit->object.util; if (commit->object.parsed) - pretty_print_commit(CMIT_FMT_ONELINE, commit->buffer, ~0, - pretty, sizeof(pretty)); + pretty_print_commit(CMIT_FMT_ONELINE, commit, ~0, + pretty, sizeof(pretty), 0); else strcpy(pretty, "(unavailable)"); if (!strncmp(pretty, "[PATCH] ", 8))