author | Luben Tuikov <ltuikov@yahoo.com> | |
Fri, 4 Aug 2006 22:11:47 +0000 (15:11 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 8 Aug 2006 01:15:29 +0000 (18:15 -0700) | ||
commit | d636ad9743783c728469a9b644c23c0415fe1a7b | |
tree | 03992982e2d3745c2b70331fc3419d1e15ad7bb8 | tree | snapshot |
parent | f1efc38bf2856f875b878177c0f0a98d9eb3bb4e | commit | diff |
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>
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>
gitweb/gitweb.perl | diff | blob | history |