diff options
context:
space:
mode:
Diffstat (limited to 'custom/hooks/post-receive.cgit-age')
-rwxr-xr-xcustom/hooks/post-receive.cgit-age3
1 file changed, 1 insertion, 2 deletions
diff --git a/custom/hooks/post-receive.cgit-age b/custom/hooks/post-receive.cgit-age
index b91f950..48b17fc 100755
--- a/custom/hooks/post-receive.cgit-age
+++ b/custom/hooks/post-receive.cgit-age
@@ -22,8 +22,7 @@ agefile="$(git rev-parse --git-dir)"/info/web/last-modified
# history still counts as recent activity. Branch tips only, since an
# annotated tag carries no committer date of its own and would sort in as an
# empty line.
-date="$(git for-each-ref --sort=-committerdate --count=1 \
- --format='%(committerdate:iso8601)' refs/heads/)"
+date="$(git for-each-ref --sort=-committerdate --count=1 --format='%(committerdate:iso8601)' refs/heads/)"
# A repository with no branches keeps whatever cgit already had, rather than
# being handed an empty file.