]> granicus.if.org Git - cgit/commit
ssdiff: point line links at exact blob by prepending "id="
authorJulius Plenz <plenz@cis.fu-berlin.de>
Tue, 30 Oct 2012 12:56:01 +0000 (13:56 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 15 Nov 2012 00:03:50 +0000 (01:03 +0100)
commitc6fe94e02a3963d4fddaf09cfc3e3dc1e186a881
tree493fea8b9d300a73a67f9a12a3585bfb0ba8fb16
parent62a40c78fed772e795eca8d4e7d6f6ead4d9a125
ssdiff: point line links at exact blob by prepending "id="

Previously, the id_str (i.e. the current or diffed-against commit's
SHA1 ID) was simply concatenated to the URL. Now, prepend an "id="
string so that the links actually point to the right blobs and thus
the exact lines.

Signed-off-by: Julius Plenz <plenz@cis.fu-berlin.de>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
ui-ssdiff.c