Code

git-merge: add --ff and --no-ff options
[git.git] / revision.c
index c193c3ea229be39472cc1f569632b0adc1a7e5d9..33d092c3c4b4c08fb6f39228e464219df4cb4f1c 100644 (file)
@@ -1024,6 +1024,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
                        }
                        if (!strcmp(arg, "--cherry-pick")) {
                                revs->cherry_pick = 1;
+                               revs->limited = 1;
                                continue;
                        }
                        if (!strcmp(arg, "--objects")) {