summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-03-11 11:11:19 (GMT)
committerPaul Mackerras <paulus@samba.org>2008-03-11 11:11:19 (GMT)
commit494d3b8a6c93d88daf4a52dbcc6ab07903f8ed4e (patch)
tree9f1aa0e61f13c52d3dfe62a4f9c7db80e8676475 /Makefile
parentcb8329aa9a6cc2e009d552b1180ce107cec4eb9d (diff)
downloadgit-494d3b8a6c93d88daf4a52dbcc6ab07903f8ed4e.zip
git-494d3b8a6c93d88daf4a52dbcc6ab07903f8ed4e.tar.gz
git-494d3b8a6c93d88daf4a52dbcc6ab07903f8ed4e.tar.bz2
gitk: Avoid Tcl error when switching views
Michele Ballabio <barra_cuda@katamail.com> pointed out that gitk sometimes throws a Tcl error (can't read "yscreen") when switching views, and proposed a patch. This is a different way of fixing it which is a bit neater. Basically, in showview we only set yscreen if the selected commit is on screen to start with, and then we only scroll the canvas to bring it onscreen if yscreen is set and the same commit exists in the new view. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions