summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/lib.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib.m4 b/include/lib.m4
index 345e670..ead0887 100644
--- a/include/lib.m4
+++ b/include/lib.m4
@@ -22,8 +22,8 @@ m4_dnl Macro for generating abbrevations
m4_define(m4_abbr, ⁨@abbr .m4_translit($1, A-Z2, a-zt) {-$1}⁩)
m4_define(m4_file_create_date, ⁨m4_esyscmd(
- git log --reverse --pretty='format:%cI' $(dirname m4___file__)/$1/index.gsp \
- | head -n1 \
+ git log --follow --pretty='format:%cI' $(dirname m4___file__)/$1/index.gsp \
+ | tail -n1 \
| ifne xargs date +'%-d %B %Y' -d \
| ifne -n echo 'No date yet…'
)⁩)