From: Jakub Narebski Date: Thu, 11 Dec 2008 17:28:09 GMT Subject: Re: [RFC/PATCH 4/3] gitweb: Incremental blame (proof of concept) Message-ID: In-Reply-To: <20081210200908.16899.36727.stgit@localhost.localdomain> Jakub Narebski writes: > This is tweaked up version of Petr Baudis patch, which > in turn was tweaked up version of Fredrik Kuivinen 's > proof of concept patch. It adds 'blame_incremental' view, which > incrementally displays line data in blame view using JavaScript (AJAX). [...] > Patch by Petr Baudis this one is based on: > http://permalink.gmane.org/gmane.comp.version-control.git/56657 > > Original patch by Fredrik Kuivinen: > http://article.gmane.org/gmane.comp.version-control.git/41361 > > Snippet adding 'generated in' to gitweb, by Petr Baudis: > http://article.gmane.org/gmane.comp.version-control.git/83306 > > Should I post interdiff to Petr Baudis patch, and comments about > difference between them? [...] Here is the list of differences between Petr Baudis patch and the one I have just send. No interdiff, as it is artificially large because previous patch was based on much older version, so ranges does not match. Bugs I have made: * I forgot to make some changes for git-instaweb.sh to have support for incremental blame, namely dependency of 'git-instaweb' target in Makefile on gitweb/blame.js, and lack of the following line in git-instaweb.sh: gitweb_blamejs $GIT_DIR/gitweb/blame.js * Pasky's patch added support for href(...,-partial_query=>1) extra parameter, which ensured that gitweb link had '?' in it, and used it to generate 'baseUrl' parameter for startBlame. I have misunderstood what baseUrl is about, and used $my_url there, while it is partial URL for blame links: it is projectUrl. Therefore links in blame table current 'blame_incremental' would not work. I'm sorry about that, I thought I have checked it... Intentionally omitted features: * In patch this one is based on there was fixBlameLinks() JavaScript function (put directly in the HTML head inside