diff options
author | Luben Tuikov <ltuikov@yahoo.com> | 2006-08-04 15:11:47 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-07 18:15:29 -0700 |
commit | d636ad9743783c728469a9b644c23c0415fe1a7b (patch) | |
tree | 03992982e2d3745c2b70331fc3419d1e15ad7bb8 /tag.h | |
parent | gitweb: Remove unused variables in git_shortlog_body and git_heads (diff) | |
download | tgif-d636ad9743783c728469a9b644c23c0415fe1a7b.tar.xz |
gitweb: bugfix: git_commit and git_commitdiff parents
In git_commit() the hash base of $from_id is $parent, not
$hash:
- If status is "D", then action blob for $from_id wants
$parent, not $hash. History needs $parent too.
- If status is "R", then action blob for $from_id wants
$parent, not $hash.
Similarly in git_commitdiff() the hash base of $from_id is
$hash_parent, not $hash.
Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'tag.h')
0 files changed, 0 insertions, 0 deletions