diff options
author | Jakub Narebski <jnareb@gmail.com> | 2006-08-25 21:14:49 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-25 19:42:24 -0700 |
commit | 9b71b1f6b3b57b3771151d252a5e22886524a154 (patch) | |
tree | 0adcfb3d99e642509e6eb2156c5b0fb1a831254a /commit.h | |
parent | 7c5e2ebb5d8ca3d8428e19593c69a4f329d64855 (diff) | |
download | git-9b71b1f6b3b57b3771151d252a5e22886524a154.tar.gz |
gitweb: git_blobdiff_plain is git_blobdiff('plain')
git_blobdiff and git_blobdiff_plain are now collapsed into one
subroutine git_blobdiff, with format (currently 'html' which is
default format corresponding to git_blobdiff, and 'plain'
corresponding to git_blobdiff_plain) specified in argument.
blobdiff_plain format is now generated either by git-diff-tree
or by git-diff. Added X-Git-Url: header. From-file and to-file name
in header are corrected.
Note that for now commitdiff_plain does not detect renames
and copying, while blobdiff_plain does.
While at it, set expires to "+1d" for non-textual hash ids.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions