Skip to content

Commit 826ac93

Browse files
committedDec 14, 2020
Removed time sorting for faster RT
1 parent 3943231 commit 826ac93

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

Diff for: ‎src/onefetch/git_utils.rs

-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ impl<'a> GitClient<'a> {
9292
fn get_git_history(repo: &'a Repository, no_merges: bool) -> Result<Vec<Commit<'a>>> {
9393
let mut revwalk = repo.revwalk()?;
9494
revwalk.push_head()?;
95-
revwalk.set_sorting(git2::Sort::TIME)?;
9695
let commits: Vec<Commit<'a>> = revwalk
9796
.filter_map(|r| match r {
9897
Err(_) => None,

0 commit comments

Comments
 (0)
Please sign in to comment.