aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-06-02 18:51:02 +0200
committerHampusM <hampus@hampusmat.com>2021-06-02 18:51:02 +0200
commite291e29d38c8935a4cc4f9a16c2ce91abb141a84 (patch)
tree9e3109c65b82c5990169f3f1acbb8bd00e3d6160
parentd46d62553cb2f7a300810a2bd9d31c0878b77e8b (diff)
Log now includes all commits
-rw-r--r--src/api/git.js2
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(),