From e291e29d38c8935a4cc4f9a16c2ce91abb141a84 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 2 Jun 2021 18:51:02 +0200 Subject: Log now includes all commits --- src/api/git.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/api/git.js b/src/api/git.js index 35b83cf..95759f0 100644 --- a/src/api/git.js +++ b/src/api/git.js @@ -21,7 +21,7 @@ async function getLog(base_dir, repo_name) const walker = git.Revwalk.create(repo); walker.pushHead(); - const raw_commits = await walker.getCommits(); + const raw_commits = await walker.getCommitsUntil(() => true); const commits = Promise.all(raw_commits.map(async commit => ({ commit: commit.sha(), -- cgit v1.2.3-18-g5258