Skip to contentSkip to conversation

gitweb: add patch view

RFC Giuseppe Bilotta 1 participant 1 message Jun 15, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · Matt Kraai

Howdy,

Why do you check $patch_max at the start of git_commitdiff instead of at the start of hunk which opens git-format-patch? It seems like it would be clearer to check it later, at some small loss of efficiency.

Subsequent patches use the check to add a link to the nav bar, so it reduces code shift from patch to patch 8-)

Signature · 1 line
Giuseppe "Oblomov" Bilotta