diff -r 857af79337d5 -r 110a234a3260 src/main.cpp --- a/src/main.cpp Fri Feb 06 18:44:47 2026 +0100 +++ b/src/main.cpp Wed Feb 25 21:13:55 2026 +0100 @@ -276,7 +276,7 @@ proc.setbin(settings.hg); if (proc.exec_log({"log", "--date", std::format("{0}-01-01 00:00:00 to {0}-12-31 23:59:59", report_year), - "--template", "{author}#{date|shortdate}#{tags}#{desc|firstline}\\n"})) { + "--template", "{node}#{author}#{date|shortdate}#{tags}#{desc|firstline}\\n"})) { fprintf(stderr, "Reading commit log for repo '%s' failed!\n", repo.path.c_str()); return EXIT_FAILURE; } @@ -289,7 +289,7 @@ "--decorate-refs=refs/tags/", "--since", std::format("{0}-01-01 00:00:00", report_year), "--until", std::format("{0}-12-31 23:59:59", report_year), - "--format=tformat:%an <%ae>#%cs#%(decorate:prefix=,suffix=,tag=,separator= )#%s"})) { + "--format=tformat:%H#%an <%ae>#%cs#%(decorate:prefix=,suffix=,tag=,separator= )#%s"})) { fprintf(stderr, "Reading commit log for repo '%s' failed!\n", repo.path.c_str()); return EXIT_FAILURE; }