* [PATCH] log --graph: do not accept log --graphbogus
@ 2008-05-26 3:19 Junio C Hamano
0 siblings, 0 replies; only message in thread
From: Junio C Hamano @ 2008-05-26 3:19 UTC (permalink / raw)
To: Adam Simpkins; +Cc: git
An obvious fix to the argument parser.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
revision.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/revision.c b/revision.c
index fb9924e..ac057e1 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);
--
1.5.5.1.467.g9bd81
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-26 3:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-26 3:19 [PATCH] log --graph: do not accept log --graphbogus Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).