summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ed7b603)
raw | patch | inline | side by side (parent: ed7b603)
author | Jens Lehmann <Jens.Lehmann@web.de> | |
Thu, 24 Sep 2009 16:56:28 +0000 (18:56 +0200) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 25 Sep 2009 23:42:00 +0000 (16:42 -0700) |
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>
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 | patch | blob | history |
diff --git a/git-gui.sh b/git-gui.sh
index 88d1025dd028dfc5d0dd8ee169eebad95a5e6ddf..09b27203db742f7b9a59d2246f4843a1071f1196 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
set is_detached 0
set current_diff_path {}
set is_3way_diff 0
+set is_submodule_diff 0
set is_conflict_diff 0
set selected_commit_type new
set diff_empty_count 0