From 21a8c281ecc5843b72a2cb7a9b98b5704fc9c97f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20d=27Anterroches?= Date: Thu, 17 Mar 2011 09:22:46 +0100 Subject: [PATCH] Fixed in an ugly way the non support of the git --contains option. --- src/IDF/Scm/Git.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/IDF/Scm/Git.php b/src/IDF/Scm/Git.php index a836aea..95ada44 100644 --- a/src/IDF/Scm/Git.php +++ b/src/IDF/Scm/Git.php @@ -214,6 +214,9 @@ class IDF_Scm_Git extends IDF_Scm Pluf::f('git_path', 'git')); self::exec('IDF_Scm_Git::getTags', $cmd, $out, $return); if (0 != $return) { + $this->cache['tags'] = array(); + return array(); + // Ugly emergency fix, needs to be cleaned. throw new IDF_Scm_Exception(sprintf($this->error_tpl, $cmd, $return, implode("\n", $out)));