Simplify is_kept_pack()
[gitweb.git] / git-gui / git-gui.sh
index ad65aaad5a696ec355d9b965b13704f57145678f..86402d49f72c56d793f2f1958a9e3d3f8300f367 100755 (executable)
@@ -1932,7 +1932,7 @@ proc show_more_context {} {
 
 proc show_less_context {} {
        global repo_config
-       if {$repo_config(gui.diffcontext) >= 1} {
+       if {$repo_config(gui.diffcontext) > 1} {
                incr repo_config(gui.diffcontext) -1
                reshow_diff
        }