diff options
author | W. Trevor King <wking@drexel.edu> | 2012-03-29 08:45:49 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-30 09:09:59 -0700 |
commit | 8745db63ca65c28221229df3d945cb10045c29dc (patch) | |
tree | 0352040e51474d7b93f9711d68c5af63df0aa819 /t/t4013/diff.diff-tree_--cc_--patch-with-stat_--summary_master | |
parent | gitweb: refactor If-Modified-Since handling (diff) | |
download | tgif-8745db63ca65c28221229df3d945cb10045c29dc.tar.xz |
gitweb: add If-Modified-Since handling to git_snapshot().
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 request is a commit.
Requests for snapshots of trees, 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/t4013/diff.diff-tree_--cc_--patch-with-stat_--summary_master')
0 files changed, 0 insertions, 0 deletions