From 54923d6bef0cf757d2cc6e6da9c537c752f25665 Mon Sep 17 00:00:00 2001 From: svkalinin Date: Mon, 17 Oct 2022 16:59:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D1=83=20=D0=B5=D1=81?= =?UTF-8?q?=D0=BB=D0=B8=20=D0=BD=D0=B5=D1=82=20=D0=B8=D0=B7=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=B5=D0=BD=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/git.tcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/git.tcl b/lib/git.tcl index 0a4aa7c..b033eb7 100644 --- a/lib/git.tcl +++ b/lib/git.tcl @@ -35,7 +35,9 @@ namespace eval Git { foreach line [split $pipe "\n"] { lappend res $line } - return $res + if [info exists res] { + return $res + } } proc Diff {f} {