]> git.cameronkatri.com Git - cgit.git/commit
ui-diff: fix links from diffstat
authorLars Hjemli <hjemli@gmail.com>
Tue, 23 Sep 2008 15:47:26 +0000 (17:47 +0200)
committerLars Hjemli <hjemli@gmail.com>
Tue, 23 Sep 2008 15:47:26 +0000 (17:47 +0200)
commit04619c9b8512921a87187b9adf8573e2bdacd0a6
treeb25bd09ef7d09504dac0a09810598c4d183c53b3
parent06e14dc61cf36c146f04de91497d2fe866c46f5e
ui-diff: fix links from diffstat

The links in the diffstat is supposed to work as a filter for the diff,
but this only worked when a single rev was supplied, i.e. the filtered
diff was always against the parent of the specified rev.

With this patch it is now possible to use the diffstat as a 'filter menu'
for urls like http://hjemli.net/git/cgit/diff/?id=v0.7.2&id2=v0.7.1

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
ui-diff.c