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}`);