aboutsummaryrefslogtreecommitdiff
path: root/gitk-git
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-03-06 16:58:42 -0600
committerPaul Mackerras <paulus@samba.org>2010-03-20 20:53:21 +1100
commit5d11f794de3c1a5cd592af008a369a90fa30d2e9 (patch)
treee0c0e8dd52219622602bb64534ce5d9efc4a4f96 /gitk-git
parente7feb695bf93d57c1c5fdf9f2acc2039e3fdf850 (diff)
downloadgit-5d11f794de3c1a5cd592af008a369a90fa30d2e9.tar.gz
git-5d11f794de3c1a5cd592af008a369a90fa30d2e9.tar.xz
gitk: Don't clobber "Remember this view" setting
In the View → Edit View... dialog, the "Remember this view" option always starts out unset. Using the dialog to change an existing view and ignoring the parts of the dialog that aren’t relevant results in both the old and new versions of the view being lost. The cause: right after newviewopts($curview,perm) is set to an appropriate value, decode_view_opts is clobbering it with the default value. If that call is moved a little earlier, the "Remember this view" option gets properly set to its previous value, fixing the problem. Reported-by: Steve Cotton <steve0001@s.cotton.clara.co.uk> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'gitk-git')
0 files changed, 0 insertions, 0 deletions