diff options
author | Junio C Hamano <junkio@cox.net> | 2006-03-28 00:04:50 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-03-28 00:04:50 -0800 |
commit | 5cdeae71ea7330c08cf96b581e2c7696949e3840 (patch) | |
tree | 1a3a181070b10e02951750fc3ad3249588c37f2d | |
parent | xdiff: Show function names in hunk headers. (diff) | |
download | tgif-5cdeae71ea7330c08cf96b581e2c7696949e3840.tar.xz |
rev-list --no-merges: argument parsing fix.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r-- | revision.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c index d67718c75b..d7678cfab4 100644 --- a/revision.c +++ b/revision.c @@ -587,7 +587,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch revs->remove_empty_trees = 1; continue; } - if (!strncmp(arg, "--no-merges", 11)) { + if (!strcmp(arg, "--no-merges")) { revs->no_merges = 1; continue; } |