@matheusbsbs / matheus-bagliano / commits / cd846aa183
Fork 0

git-gui: fix use of uninitialized variable

This fixes a bug introduced by the "display summary when showing diff of a submodule" patch. It lead to a "no such variable" error when opening the diff context menu while no diff was shown. Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Jens Lehmann committed Sep 24, 2009 at 18:56 UTC cd846aa183a01b8d881122a938f93ba38bc12629
1 file changed +1
git-gui.sh
+1
@@ -1134,6 +1134,7 @@ set current_branch {}
1134 set is_detached 0
1135 set current_diff_path {}
1136 set is_3way_diff 0
1137 +set is_submodule_diff 0
1138 set is_conflict_diff 0
1139 set selected_commit_type new
1140 set diff_empty_count 0