{"thread":{"id":"21047","subject":"[PATCH] git-gui: fix use of uninitialized variable","startedAt":"2009-09-24T16:56:28Z","lastAt":"2009-09-24T16:56:28Z","messageCount":1,"participants":["Jens Lehmann"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"123742","messageId":"4ABBA4BC.2010408@web.de","threadId":"21047","inReplyTo":null,"subject":"[PATCH] git-gui: fix use of uninitialized variable","fromName":"Jens Lehmann","fromEmail":"jens.lehmann@web.de","sentAt":"2009-09-24T16:56:28Z","receivedAt":"2009-09-24T16:56:28Z","isPatch":true,"sender":{"key":"jens.lehmann@web.de","avatar":"https://avatars.githubusercontent.com/u/135220?v=4"},"body":"This fixes a bug introduced by the \"display summary when showing diff of a\nsubmodule\" patch. It lead to a \"no such variable\" error when opening the\ndiff context menu while no diff was shown.\n\nSigned-off-by: Jens Lehmann <Jens.Lehmann@web.de>\n---\n\n git-gui/git-gui.sh |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\ndiff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh\nindex 3c0ce26..f727111 100755\n--- a/git-gui/git-gui.sh\n+++ b/git-gui/git-gui.sh\n@@ -1132,6 +1132,7 @@ set current_branch {}\n set is_detached 0\n set current_diff_path {}\n set is_3way_diff 0\n+set is_submodule_diff 0\n set is_conflict_diff 0\n set selected_commit_type new\n set diff_empty_count 0\n-- \n1.6.5.rc2.5.gbbf1\n"}]}