commit 2a1c70c7109f5d83701a6321ff215ec81b522a1b
parent 58dd2fe18f84ef31f0cbcf802aae7b847ce3fb96
Author: Wim Dupont <wim@wimdupont.com>
Date: Thu, 19 Jun 2025 23:25:20 +0200
set date by first commit
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generate.sh b/generate.sh
@@ -56,7 +56,7 @@ generate_pages() {
for file in $repo_path/!(header.adoc|footer.adoc) ; do
if [[ -f $file ]]; then
cd ${repo_path}
- date=$(git log -1 --pretty="format:%ci" "$file")
+ date=$(git log --follow --pretty="format:%ci" "$file" | tail -1)
cd ${dest_path}
filename=$(basename "${file}" .adoc)