author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | |
Mon, 26 Jan 2009 11:50:15 +0000 (12:50 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 28 Jan 2009 22:13:54 +0000 (14:13 -0800) | ||
commit | 2757b54d469783ea9eac3ba366c4ffaa194c990d | |
tree | 7ad80114dac45d29e92f76fc0c085eaf80985624 | tree | snapshot |
parent | 0cf31285a0e1a40745eb2a91534f6e6b54df0e2f | commit | diff |
gitweb: last-modified time should be commiter, not author
The last-modified time header added by RSS to increase cache hits from
readers should be set to the date the repository was last modified. The
author time in this respect is not a good guess because the last commit
might come from a oldish patch.
Use the committer time for the last-modified header to ensure a more
correct guess of the last time the repository was modified.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The last-modified time header added by RSS to increase cache hits from
readers should be set to the date the repository was last modified. The
author time in this respect is not a good guess because the last commit
might come from a oldish patch.
Use the committer time for the last-modified header to ensure a more
correct guess of the last time the repository was modified.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |