diff options
author | Jakub Narebski <jnareb@gmail.com> | 2007-04-05 13:45:41 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-05 14:14:55 -0700 |
commit | 957d6ea78fcbe71481a6f46a58768e100f7908e0 (patch) | |
tree | 3f17d54e6ef33bdbe6ce7d3a707e98a85d558a90 /contrib/continuous/cidaemon | |
parent | Document --left-right option to rev-list. (diff) | |
download | tgif-957d6ea78fcbe71481a6f46a58768e100f7908e0.tar.xz |
gitweb: Fix bug in "blobdiff" view for split (e.g. file to symlink) patches
git_patchset_body needs patch generated with --full-index option to
detect split patches, meaning two patches which corresponds to single
difftree (raw diff) entry. An example of such situation is changing
type (mode) of a file, e.g. from plain file to symbolic link.
Add, in git_blobdiff, --full-index option to patch generating git diff
invocation, for the 'html' format output ("blobdiff" view).
"blobdiff_plain" still uses shortened sha1 in the extended git diff
header "index <hash>..<hash>[ <mode>]" line.
Noticed-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'contrib/continuous/cidaemon')
0 files changed, 0 insertions, 0 deletions