diff options
-rw-r--r-- | src/api/git.js | 2 |
1 files changed, 1 insertions, 1 deletions
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(), |