Skip to content

gitweb: Improve git_blame in preparation for incremental blame

Jakub Narebski git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3gitweb: Move 'lineno' id from link to row element in git_blamegitweb/gitweb.perl+1 -22 replies
2/3gitweb: Cache $parent_commit info in git_blame()gitweb/gitweb.perl+11 -58 replies
2/3gitweb: Cache $parent_commit info in git_blame()gitweb/gitweb.perl+11 -56 replies
3/3gitweb: A bit of code cleanup in git_blame()gitweb/gitweb.perl+37 -283 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchLuben TuikovPetr Baudis
1/3A-b A-b
2/3A-b A-b A-b
2/3A-b A-b A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] gitweb: Improve git_blame in preparation for incremental blame

The following series implements a few improvements to git_blame code and 'blame' view output to prepare for WIP/RFC patch adding incremental blame output to gitweb using AJAX (JavaScript and XMLHttpRequest); the code in question is based on code by Petr Baudis from 26 Aug 2007
http://permalink.gmane.org/gmane.comp.version-control.git/56657
which in turn was based on Fredrik Kuivinen proof of concept patch.

The first patch in series (moving id to tr element) is needed in blame_incremental, and it makes it easier to use DOM to manipulate gitweb blame output.

Second patch is about what I have noticed when examining git_blame code.

The last patch is not necessarily required; but please tell me if it is to be accepted or to be dropped, to know whether to base incremental blame on it.

---
Jakub Narebski (3):
gitweb: A bit of code cleanup in git_blame()
gitweb: Cache $parent_commit info in git_blame()
gitweb: Move 'lineno' id from link to row element in git_blame

 gitweb/gitweb.perl |   84 ++++++++++++++++++++++++++++++----------------------
 1 files changed, 49 insertions(+), 35 deletions(-)
Signature · 3 lines
Jakub Narebski
ShadeHawk on #git
Poland