Display correct diff the context in split log view
commitf7306fd57bbb5f182afebdec853122fe8e406e4c
authorKumar Appaiah <a.kumar@alumni.iitm.ac.in>
Fri, 2 Aug 2013 02:45:07 +0000 (1 22:45 -0400)
committerJonas Fonseca <fonseca@diku.dk>
Fri, 9 Aug 2013 23:15:20 +0000 (9 19:15 -0400)
tree2504bdf8e09ab7e5b3a44ff727e4880fcf73a593
parentc71d4894a154926f4830be6fe454141a6e102800
Display correct diff the context in split log view

In the log view, when scrolling across a commit, the diff view should
automatically switch to the commit whose context the cursor is on in
the log view. This commit changes things to catch the REQ_ENTER in the
log view and handle recalculation of the commit and diff display from
log_request, rather than delegating it to pager_request. In addition,
it also gets rid of unexpected upward scrolling of the log view.

Fixes GH #155

Signed-Off-By: Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
NEWS
tig.c