diff options
author | W. Trevor King <wking@drexel.edu> | 2012-03-26 15:14:19 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-26 12:56:06 -0700 |
commit | 84d62947b59e1c49f36b77e2469b39723c503a39 (patch) | |
tree | 36e39b1d04a730554153a2419b31e7b12116d6ca /t/t9158-git-svn-mergeinfo.sh | |
parent | d037873021736010d1e9095fe9094f24d57b87c5 (diff) | |
download | git-wk/gitweb-snapshot-use-if-modified-since.tar.gz |
gitweb: add If-Modified-Since handling to git_snapshot().wk/gitweb-snapshot-use-if-modified-since
Because snapshots can be large, you can save some bandwidth by
supporting caching via If-Modified-Since. This patch adds support for
the i-m-s request to git_snapshot() if the requested hash is a commit.
Requests for snapshots of tree-ishes, which lack well defined
timestamps, are still handled as they were before.
Signed-off-by: W Trevor King <wking@drexel.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9158-git-svn-mergeinfo.sh')
0 files changed, 0 insertions, 0 deletions