Skip to content

Commit

Permalink
[helper] Clear topo-walk flags instead of disabling commit graph
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Nov 10, 2019
1 parent 21d1427 commit bff1f85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions helper/cinnabar-helper.c
Expand Up @@ -363,7 +363,7 @@ static void do_rev_list(struct string_list *args)

// More extensive than reset_revision_walk(). Otherwise --boundary
// and pathspecs don't work properly.
clear_object_flags(ALL_REV_FLAGS);
clear_object_flags(ALL_REV_FLAGS | TOPO_WALK_EXPLORED | TOPO_WALK_INDEGREE);
send_buffer(&buf);
strbuf_release(&buf);
rev_info_release(&revs);
Expand Down Expand Up @@ -2436,7 +2436,6 @@ int cmd_main(int argc, const char *argv[])
}
}

disable_commit_graph(the_repository);
init_git_config();
git_config(git_default_config, NULL);
init_config();
Expand Down

0 comments on commit bff1f85

Please sign in to comment.