git-gui: fix use of uninitialized variable
authorJens Lehmann <Jens.Lehmann@web.de>
Thu, 24 Sep 2009 16:56:28 +0000 (18:56 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 25 Sep 2009 23:42:00 +0000 (16:42 -0700)
commitcd846aa183a01b8d881122a938f93ba38bc12629
tree0057ca4dbce31bc0efb2b1494e9bc5f9845d0293
parented7b603381a57f706d758cf5a2f2ce604ef8c825
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>
git-gui.sh