]> Lady’s Gitweb - Gitweb/commit
gitweb: use blame --porcelain
authorJunio C Hamano <redacted>
Thu, 5 Oct 2006 20:55:58 +0000 (13:55 -0700)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:10 +0000 (00:07 -0400)
commited240940fc15dacdeb5ece802bff485665f5df1bf94cc8bfc6b2b8b14407a039
tree99b7405d1b98603a6493d235e98afe020f801fa7a8dd38a3c6b851921b12f438
parenta7ab0b416cc5f68d6e9135680eff4fc34327d39baf74967dc50b41ec2b5eb097
gitweb: use blame --porcelain

This makes gitweb (git_blame2) use "blame --porcelain", which
lets the caller to figure out which line in the original version
each line comes from.  Using this information, change the
behaviour of clicking the line number to go to the line of the
blame output for the original commit.

Before, clicking the line number meant "scoll up to show this
line at the beginning of the page", which was not all that
useful.  The new behaviour lets you click on the line you are
interested in to view the line in the context it was introduced,
and keep digging deeper as you examine it.

Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.212847 seconds and 4 git commands to generate.