From df01ee747c1dd48cd6fc19f436012133a6bede02 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Mon, 10 Jun 2024 20:57:44 -0500 Subject: [PATCH] more testing --- build_garden.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build_garden.js b/build_garden.js index a0063c87..1fe90251 100644 --- a/build_garden.js +++ b/build_garden.js @@ -195,8 +195,11 @@ function toSlug(string) { fs.mkdirSync("./site/changelog"); await exec("git fetch --all") - console.log("remotes: " + (await exec("git branch -r -v")).stdout); - const { stdout } = await exec('git log --after="2024-06-03T0:0:0+0000" --pretty=%H origin/master'); + console.log("remotes: " + (await exec("git branch -r")).stdout); + console.log("head: " + (await exec("git show origin/HEAD")).stdout); + console.log("head-1: " + (await exec("git show origin/HEAD~")).stdout); + console.log("head-5: " + (await exec("git show origin/HEAD~4")).stdout); + const { stdout } = await exec('git log --after="2024-06-03T0:0:0+0000" --pretty=%H origin/HEAD'); console.log(stdout); const entries = await Promise.all(stdout.split("\n").filter(p => p).map(hash => new Promise(async (resolve) => { const { stdout: title } = await exec(`git show --quiet --format=%s ${hash}`);