projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f53bc09
)
log --graph: do not accept log --graphbogus
author
Junio C Hamano
<gitster@pobox.com>
Mon, 26 May 2008 03:19:25 +0000
(20:19 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 26 May 2008 03:28:58 +0000
(20:28 -0700)
An obvious fix to the argument parser.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c
patch
|
blob
|
history
diff --git
a/revision.c
b/revision.c
index fb9924e5af65bc52db588cb5f9be3654b6a5c962..ac057e1e65528786a479ec9b2cc02336786244c9 100644
(file)
--- 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 (!
prefix
cmp(arg, "--graph")) {
+ if (!
str
cmp(arg, "--graph")) {
revs->topo_order = 1;
revs->rewrite_parents = 1;
revs->graph = graph_init(revs);