We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92a2598 commit ddd9d27Copy full SHA for ddd9d27
1 file changed
ansible/roles/git-mirrors/templates/update-mirrors.sh.j2
@@ -20,8 +20,8 @@ for repo in $FOUND_REPOS; do
20
mkdir -p "info/web" || { echo "Error: Failed to create info/web directory in $repo"; exit 1; }
21
22
git for-each-ref \
23
- --sort=-authordate --count=1 \
24
- --format='%(authordate:iso8601)' \
+ --sort=-committerdate --count=1 \
+ --format='%(committerdate:iso8601)' \
25
--exclude='refs/pull/*/merge' \
26
> info/web/last-modified || { echo "Error: Failed to write last-modified file in $repo"; exit 1; }
27
0 commit comments