提交 ba88e54b 编写于 作者: L Linus Torvalds

git-diff-tree: fix output with just "--pretty".

It set verbose, but didn't set the output prefix to "diff-tree".
上级 a8db165e
......@@ -507,6 +507,7 @@ int main(int argc, const char **argv)
}
if (!strncmp(arg, "--pretty", 8)) {
verbose_header = 1;
header_prefix = "diff-tree ";
commit_format = get_commit_format(arg+8);
continue;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册