gitk: Fix GIT_TRACE issues
commit0ae103574e5411be107c31a3390884f65fbaa0ef
authorAske Olsson <askeolsson@gmail.com>
Thu, 10 May 2012 10:13:43 +0000 (10 12:13 +0200)
committerPaul Mackerras <paulus@samba.org>
Sat, 4 Aug 2012 09:32:40 +0000 (4 19:32 +1000)
treede7adc72e6b481b3c6e7ff1ec4311ec64fdf2cf6
parenta135f214e371311f13807da637d492fd9642a2e3
gitk: Fix GIT_TRACE issues

Check if GIT_TRACE env var is set and unset it if it is.

If the environment var GIT_TRACE=1 exists gitk will fail when trying
to find gitdir:
$ git rev-parse --git-dir
trace: built-in: git 'rev-parse' '--git-dir'
.git

Other git commands will also show debug output hence not work as
intended.

Signed-off-by: Aske Olsson <askeolsson@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk