commit $H$x
- tree $T
+ commit $H$x
+ tree $T
author $au
committer $co
@@ -238,7 +238,24 @@ id=related>find related emails, including ancestors/descendants/conflicts
EOM
}
}
- $x = $ctx->zflush($ctx->_html_end);
+ chop($x = <glossary
+--------
+Commit objects reference one tree, and zero or more parents.
+
+Single parent commits can typically generate a patch in
+unified diff format via `git format-patch'.
+
+Multiple parents means the commit is a merge.
+
+Root commits have no ancestor. Note that it is
+possible to have multiple root commits when merging independent histories.
+
+Every commit references one top-level tree object.
+EOM
+ $x = $ctx->zflush($x, $ctx->_html_end);
my $res_hdr = delete $ctx->{-res_hdr};
push @$res_hdr, 'Content-Length', length($x);
delete($ctx->{env}->{'qspawn.wcb'})->([200, $res_hdr, [$x]]);
@@ -398,7 +415,7 @@ sub solve_result {
return stream_large_blob($ctx, $res) if defined $ctx->{fn};
return html_page($ctx, 200, <Too big to show, download available
-"$oid $type $size bytes $raw_link
+blob $oid $size bytes $raw_link
EOM
}
@@ -417,7 +434,7 @@ EOM
}
$bin and return html_page($ctx, 200,
- "$oid $type $size bytes (binary)" .
+ "blob $oid $size bytes (binary)" .
" $raw_link
".dbg_log($ctx));
# TODO: detect + convert to ensure validity
@@ -433,7 +450,7 @@ EOM
$$blob = ascii_html($$blob);
}
- my $x = "$oid $type $size bytes $raw_link
" .
+ my $x = "blob $oid $size bytes $raw_link
" .
"
".
"";
$x .= sprintf("% ${pad}u\n", $_) for (1..$nl);
|