From 8f496bf1fe975c830cf8b13f81e3138320692f6c Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 30 Dec 2008 15:06:17 -0700 Subject: [PATCH] Merge from CVS HEAD 1.14 --- framework/Vcs/lib/Horde/Vcs/Git.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/Vcs/lib/Horde/Vcs/Git.php b/framework/Vcs/lib/Horde/Vcs/Git.php index afc8a04a9..10e54d2b4 100644 --- a/framework/Vcs/lib/Horde/Vcs/Git.php +++ b/framework/Vcs/lib/Horde/Vcs/Git.php @@ -220,7 +220,7 @@ class Horde_Vcs_Diff_git extends Horde_Vcs_Diff */ public function getRevisionRange($rep, $file, $r1, $r2) { - $cmd = $rep->getCommand() . ' rev-list ' . $r1 . '..' . $r2; + $cmd = $rep->getCommand() . ' rev-list ' . $r1 . '..' . $r2 . ' -- "' . $file->queryModulePath() . '"'; $pipe = popen($cmd, 'r'); if (!is_resource($pipe)) { throw new Horde_Vcs_Exception('Unable to run ' . $cmd . ': ' . error_get_last()); @@ -234,7 +234,6 @@ class Horde_Vcs_Diff_git extends Horde_Vcs_Diff } } - $revs[] = $r1; pclose($pipe); return $revs; -- 2.11.0