From 8052e788b5e9ae2e2d06b5050fa73394ffe0993a Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Mon, 6 Apr 2009 21:59:28 +0200 Subject: [PATCH] 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 Signed-off-by: Shawn O. Pearce --- git-gui.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/git-gui.sh b/git-gui.sh index b3aa7325f..b70e1598d 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" -- 2.26.2