git-gui i18n: mark "usage:" strings for translation
[gitweb.git] / lib / diff.tcl
index 0d569862156d9e984f3c04f5662880148f92bc21..30bdd691ee0447a0498e0ec06c1bcaa3379c2d3c 100644 (file)
@@ -127,6 +127,9 @@ proc show_diff {path w {lno {}} {scroll_pos {}} {callback {}}} {
        } else {
                start_show_diff $cont_info
        }
+
+       global current_diff_path selected_paths
+       set selected_paths($current_diff_path) 1
 }
 
 proc show_unmerged_diff {cont_info} {