summaryrefslogtreecommitdiff
path: root/gitk-git
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-09-12 09:32:22 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-09-12 09:32:22 -0700
commitcd82e584707bffdbb9553c6140e9a8fef130e5b8 (patch)
treea02f88249221eb7f91f0e79a8dedb03b3f9ebce8 /gitk-git
parentMerge branch 'da/gitk-reload-tag-contents' (diff)
parentMerge branch 'da/gitk-reload-tag-contents' of git://github.com/gitster/git (diff)
downloadtgif-cd82e584707bffdbb9553c6140e9a8fef130e5b8.tar.xz
Merge git://ozlabs.org/~paulus/gitk
* git://ozlabs.org/~paulus/gitk: gitk: Fix GIT_TRACE issues
Diffstat (limited to 'gitk-git')
-rwxr-xr-xgitk-git/gitk5
1 files changed, 5 insertions, 0 deletions
diff --git a/gitk-git/gitk b/gitk-git/gitk
index 6f24f53d21..d93bd990a9 100755
--- a/gitk-git/gitk
+++ b/gitk-git/gitk
@@ -11533,6 +11533,11 @@ if {[catch {package require Tk 8.4} err]} {
exit 1
}
+# Unset GIT_TRACE var if set
+if { [info exists ::env(GIT_TRACE)] } {
+ unset ::env(GIT_TRACE)
+}
+
# defaults...
set wrcomcmd "git diff-tree --stdin -p --pretty"