From c0b6ba477ddef31f20b1363256e0a87c1c93b06e Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 24 Jul 2017 11:25:49 +0200 Subject: [PATCH] fixed error-case - not an error when status=1 --- lib/GitRepo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/GitRepo.php b/lib/GitRepo.php index 420cf21..f8f94d2 100644 --- a/lib/GitRepo.php +++ b/lib/GitRepo.php @@ -198,7 +198,7 @@ class GitRepo { } $status = trim(proc_close($resource)); - if ($status) throw new \Exception($stderr); + //if ($status) throw new \Exception($stderr); return $stdout; }