From: Junio C Hamano Date: Mon, 26 May 2008 03:19:25 +0000 (-0700) Subject: log --graph: do not accept log --graphbogus X-Git-Tag: v1.5.6-rc1~52 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=37869f40a817d4bf81f05cc62d9d39db7a3dc161;p=git.git log --graph: do not accept log --graphbogus An obvious fix to the argument parser. Signed-off-by: Junio C Hamano --- diff --git a/revision.c b/revision.c index fb9924e5a..ac057e1e6 100644 --- a/revision.c +++ b/revision.c @@ -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);