@matheusbsbs / matheus-bagliano / commits / 5cdeae71ea
Fork 0

rev-list --no-merges: argument parsing fix.

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Mar 28, 2006 at 00:04 UTC 5cdeae71ea7330c08cf96b581e2c7696949e3840
1 file changed +1 -1
revision.c
+1 -1
@@ -587,7 +587,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
587 revs->remove_empty_trees = 1;
588 continue;
589 }
590 - if (!strncmp(arg, "--no-merges", 11)) {
590 + if (!strcmp(arg, "--no-merges")) {
591 revs->no_merges = 1;
592 continue;
593 }