提交 db89665f 编写于 作者: J Junio C Hamano

rev-list --header: output format fix

Initial fix prepared by Johannes, but I did it slightly differently.
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 78fff6eb
......@@ -326,6 +326,9 @@ int main(int argc, const char **argv)
else
revs.header_prefix = "commit ";
}
else if (revs.verbose_header)
/* Only --header was specified */
revs.commit_format = CMIT_FMT_RAW;
list = revs.commits;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册