]> granicus.if.org Git - cgit/commit
ui-diff: don't link to single file diff stat
authorJohn Keeping <john@keeping.me.uk>
Mon, 29 Dec 2014 22:27:55 +0000 (22:27 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 30 Dec 2014 09:09:25 +0000 (10:09 +0100)
commitd6c40507711ff6cc19c8fd3f28412845a33faf50
tree3676ebeac4941416d77a3ce589f0a4498ec5d4be
parent7552266aaccb9445e082fc04215afcb55ad543d8
ui-diff: don't link to single file diff stat

Seeing the diff stat for a single file is pretty useless, so reset the
diff type before generating the links to individual files in the diff
stat so that the links will show a useful diff.

Reported-by: Konstantin Ryabitsev <mricon@kernel.org>
Signed-off-by: John Keeping <john@keeping.me.uk>
ui-diff.c