Merge branch 'jk/rebase-quiet-noop' into maint
[gitweb.git] / revision.c
index ed3f6e967b32a4b489cd32c7f9f01b732250ae3b..6399a0412cc9005875e282a139200a4f918743f5 100644 (file)
@@ -2339,6 +2339,8 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, struct s
 
        if (revs->reflog_info && revs->graph)
                die("cannot combine --walk-reflogs with --graph");
+       if (revs->no_walk && revs->graph)
+               die("cannot combine --no-walk with --graph");
        if (!revs->reflog_info && revs->grep_filter.use_reflog_filter)
                die("cannot use --grep-reflog without --walk-reflogs");