The same question apply as for previous commit.
What happens if screen size is too small to contain both commit message
and notes? Does it do the sensible thing of putting notes _below_
commit message in such situation? I do not know CSS+HTML enogh to
answer this question myself.
Duplicated code. Please put this code in a separate subroutine, to be
called in those two places.
Why it is needed here? Why you want to use empty lines as terminator
(which means reading whole paragraphs), while treating two or more
consecutive empty lines as a single empty line (according to
perlvar(1))?
If you want to slurp whole file, this should be
local $/;
or more explicit
local $/ = undef;
This of course assumes that we want notes treated exactly (or almost
exactly) the same way for 'log', 'commit' and 'commitdiff' views.
Perhaps it is a good assumption (at least for first step)...
--
Jakub Narebski
Poland
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html