diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-05-25 20:19:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-25 20:28:58 -0700 |
commit | 37869f40a817d4bf81f05cc62d9d39db7a3dc161 (patch) | |
tree | d89d01975e5de617938a2a4528120c2da94ce069 /revision.c | |
parent | f53bc0953feaebe42ba056cbdbe5e91f930134a5 (diff) | |
download | git-37869f40a817d4bf81f05cc62d9d39db7a3dc161.tar.gz |
log --graph: do not accept log --graphbogus
An obvious fix to the argument parser.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c index fb9924e5af..ac057e1e65 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); |