revision: Turn off history simplification in --ancestry-path mode
[gitweb.git] / revision.c
index eb6f849cef2455b69a77b3ef6bc04cf57cbd4a69..96d7fa7f143b8680fe638e1ea69f4ec172fcedad 100644 (file)
@@ -1190,6 +1190,7 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg
                revs->first_parent_only = 1;
        } else if (!strcmp(arg, "--ancestry-path")) {
                revs->ancestry_path = 1;
+               revs->simplify_history = 0;
                revs->limited = 1;
        } else if (!strcmp(arg, "-g") || !strcmp(arg, "--walk-reflogs")) {
                init_reflog_walk(&revs->reflog_info);