aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocal/hooks/repo-specific/cgit-agefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/local/hooks/repo-specific/cgit-agefile b/local/hooks/repo-specific/cgit-agefile
index 7fb8514..babc0b3 100755
--- a/local/hooks/repo-specific/cgit-agefile
+++ b/local/hooks/repo-specific/cgit-agefile
@@ -13,5 +13,4 @@ importas -u agedir agedir
if { mkdir -p ${agedir} }
redirfd -w 1 ${agefile}
-if { git for-each-ref --sort=-authordate --count=1 --format='%(authordate:iso8601)' }
-echo "[cgit-agefile] age file updated."
+git for-each-ref --sort=-authordate --count=1 --format='%(authordate:iso8601)'