summaryrefslogtreecommitdiff
path: root/tree-walk.h
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2007-05-07 01:10:05 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2007-05-07 18:20:19 -0700
commite72c0eaf9bbdb2a9467f3f026b39b1c1755c1105 (patch)
treea746e973ed2ae06a42758ace063dab89876757b0 /tree-walk.h
parentgitweb: Add combined diff support to git_difftree_body (diff)
downloadtgif-e72c0eaf9bbdb2a9467f3f026b39b1c1755c1105.tar.xz
gitweb: Add combined diff support to git_patchset_body
Calling convention for combined diff similar to the one for git_difftree_body subroutine: difftree info (first parameter) must be result of calling git-diff-tree with -c/--cc option, and all parents of a commit must be passed as last parameters. See also description in "gitweb: Add combined diff support to git_difftree_body" This ability is not used yet. Generating "src" file name for renames in combined diff was separated into fill_from_file_info subroutine; git_difftree_body was modified to use it. Currently git_difftree_body and git_patchset_body fills this info separately. The from-file line in two-line from-file/to-file header is not hyperlinked: there can be more than one "from"/"src" file. This differs from HTML output of ordinary (not combined) diff. format_diff_line subroutine needs extra $from/$to parameters to format combined diff patch line correctly. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'tree-walk.h')
0 files changed, 0 insertions, 0 deletions