author | Junio C Hamano <junkio@cox.net> | |
Thu, 5 Oct 2006 20:55:58 +0000 (13:55 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 6 Oct 2006 07:16:09 +0000 (00:16 -0700) | ||
commit | eeef88cd20f2965325cde66e97a616bce4a757f0 | |
tree | 95dd608d4af0f33727e417a4f2970ab407fd8c67 | tree | snapshot |
parent | 4b4a5dbb17e1136275665024689625ed5cc5a03d | commit | diff |
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 <junkio@cox.net>
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 <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |