diff options
author | Eric Wong <e@80x24.org> | 2019-06-14 16:23:13 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-14 16:23:13 +0000 |
commit | 3c30532aed6256a984c535530c6667552c2e6a84 (patch) | |
tree | eefb2b25ea82263c15dc45851fbc90544bed28eb /lib/PublicInbox/Git.pm | |
parent | d9aad3a7988262b31ab2171f2c982daf04ac822c (diff) | |
parent | d3c94cf92e8a4693aa691f3464c94c00be543cfc (diff) | |
download | public-inbox-3c30532aed6256a984c535530c6667552c2e6a84.tar.gz |
* origin/manifest: git: ensure ->modified returns an integer www: support $INBOX/git/$EPOCH.git for v2 cloning www: wire up /$INBOX/manifest.js.gz, too wwwlisting: generate grokmirror-compatible manifest.js.gz wwwlisting: allow hiding entries from manifest
Diffstat (limited to 'lib/PublicInbox/Git.pm')
-rw-r--r-- | lib/PublicInbox/Git.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Git.pm b/lib/PublicInbox/Git.pm index 6a87661c..f5c7a95c 100644 --- a/lib/PublicInbox/Git.pm +++ b/lib/PublicInbox/Git.pm @@ -303,7 +303,7 @@ sub modified ($) { chomp $oid; my $buf = cat_file($self, $oid) or next; $$buf =~ /^committer .*?> ([0-9]+) [\+\-]?[0-9]+/sm or next; - my $cmt_time = $1; + my $cmt_time = $1 + 0; $modified = $cmt_time if $cmt_time > $modified; } $modified || time; |