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

log --graph: do not accept log --graphbogus

An obvious fix to the argument parser.
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 f53bc095
......@@ -1202,7 +1202,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
get_commit_format(arg+8, revs);
continue;
}
if (!prefixcmp(arg, "--graph")) {
if (!strcmp(arg, "--graph")) {
revs->topo_order = 1;
revs->rewrite_parents = 1;
revs->graph = graph_init(revs);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册