[PATCH 0/3] gitweb: Improve git_blame in preparation for incremental blame
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Dec 9, 2008, 22:43 UTC
- Message-ID
- <20081209223703.28106.29198.stgit@localhost.localdomain>
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_blamegitweb/gitweb.perl | 84 ++++++++++++++++++++++++++++++---------------------- 1 files changed, 49 insertions(+), 35 deletions(-)
-- Jakub Narebski ShadeHawk on #git Poland