From 37869f40a817d4bf81f05cc62d9d39db7a3dc161 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 25 May 2008 20:19:25 -0700 Subject: [PATCH] log --graph: do not accept log --graphbogus An obvious fix to the argument parser. Signed-off-by: Junio C Hamano --- revision.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2