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

rev-list --no-merges: argument parsing fix.

Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 acb72577
......@@ -587,7 +587,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
revs->remove_empty_trees = 1;
continue;
}
if (!strncmp(arg, "--no-merges", 11)) {
if (!strcmp(arg, "--no-merges")) {
revs->no_merges = 1;
continue;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册