Code

gitk: Use the -q flag to git checkout
authorPaul Mackerras <paulus@samba.org>
Mon, 21 May 2007 23:52:00 +0000 (09:52 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 22 May 2007 00:06:39 +0000 (10:06 +1000)
This avoids having gitk think that an error has occurred in the checkout.

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk

diff --git a/gitk b/gitk
index a57e84cef7143839af954e2aa1fcb3d633befe41..3c9ea974d3fe0829717883a323fc857d5c365b3c 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -5356,7 +5356,7 @@ proc cobranch {} {
     nowbusy checkout
     update
     if {[catch {
-       exec git checkout $headmenuhead
+       exec git checkout -q $headmenuhead
     } err]} {
        notbusy checkout
        error_popup $err