Re: [PATCH 2/4] gitweb: bugfix: git_commit and git_commitdiff parents

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH 2/4] gitweb: bugfix: git_commit and git_commitdiff parents

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:35

Luben Tuikov [off-list ref] writes:
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.

In git_commitdiff() the hash base of $from_id is
$hash_parent, not $hash:
 - If status is "D".
 - If status is "M".
... stopped in mid sentence???

Re: [PATCH 2/4] gitweb: bugfix: git_commit and git_commitdiff parents

From: Luben Tuikov <hidden>
Date: 2016-06-15 22:42:35

--- Junio C Hamano <junkio@cox.net> wrote:
Luben Tuikov [off-list ref] writes:
quoted
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.

In git_commitdiff() the hash base of $from_id is
$hash_parent, not $hash:
 - If status is "D".
 - If status is "M".
... stopped in mid sentence???
Sorry.  The meaning is the same as for git_commit() and as
the paragraph text ("In git_commitdiff() the hash base of ...").

   Luben
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help