Fix escaping revision range string
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 28 Jan 2009 19:31:47 +0000 (12:31 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 28 Jan 2009 19:43:29 +0000 (12:43 -0700)
framework/Vcs/lib/Horde/Vcs/Git.php

index 6004c19..c7d249f 100644 (file)
@@ -170,7 +170,7 @@ class Horde_Vcs_Git extends Horde_Vcs
      */
     protected function _getRevisionRange($file, $r1, $r2)
     {
-        $cmd = $this->getCommand() . ' rev-list ' . escapeshellarg($r1) . '..' . escapeshellarg($r2) . ' -- ' . escapeshellarg($file->queryModulePath());
+        $cmd = $this->getCommand() . ' rev-list ' . escapeshellarg($r1 . '..' . $r2) . ' -- ' . escapeshellarg($file->queryModulePath());
         $revs = array();
 
         exec($cmd, $revs);