Merge branch 'rs/branch-del-symref'
[gitweb.git] / builtin / revert.c
index 17dc8c8d1e837ceac780b0de8e3b3921e1329894..c5e36b94c080212ec9241146c20ef2e323663bea 100644 (file)
@@ -195,7 +195,7 @@ static void parse_args(int argc, const char **argv, struct replay_opts *opts)
                struct setup_revision_opt s_r_opt;
                opts->revs = xmalloc(sizeof(*opts->revs));
                init_revisions(opts->revs, NULL);
-               opts->revs->no_walk = 1;
+               opts->revs->no_walk = REVISION_WALK_NO_WALK_UNSORTED;
                if (argc < 2)
                        usage_with_options(usage_str, options);
                memset(&s_r_opt, 0, sizeof(s_r_opt));