diff options
author | Joerg Bornemann <joerg.bornemann@web.de> | 2009-04-06 21:59:28 +0200 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2009-04-08 07:38:11 -0700 |
commit | 8052e788b5e9ae2e2d06b5050fa73394ffe0993a (patch) | |
tree | 24d6a9d7244a6105d603b8c7669f3431972ea634 | |
parent | git-gui: fix deleting from the context menu with empty selection (diff) | |
download | tgif-8052e788b5e9ae2e2d06b5050fa73394ffe0993a.tar.xz |
git-gui: fix use of undeclared variable diff_empty_count
Commit 584fa9cc introduced the global variable diff_empty_count, which
is used in diff.tcl. This variable wasn't declared anywhere which
resulted in an ugly error message box instead of the intended
informative message.
Signed-off-by: Joerg Bornemann <joerg.bornemann@web.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rwxr-xr-x | git-gui.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git-gui.sh b/git-gui.sh index b3aa7325f0..b70e1598dc 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -1108,6 +1108,7 @@ set current_diff_path {} set is_3way_diff 0 set is_conflict_diff 0 set selected_commit_type new +set diff_empty_count 0 set nullid "0000000000000000000000000000000000000000" set nullid2 "0000000000000000000000000000000000000001" |