MTrack/SCM/Git/WorkingCopy.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 6 Sep 2011 08:30:50 +0000 (16:30 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 6 Sep 2011 08:30:50 +0000 (16:30 +0800)
MTrack/SCM/Git/WorkingCopy.php

index 9b4391c..86d117b 100644 (file)
@@ -12,7 +12,7 @@ class MTrack_SCM_Git_WorkingCopy extends MTrackSCMWorkingCopy
         if (empty($cfg['workingdir'])) {
             throw new Exception("MTrack[workingdir] is not set");
         }
-        $this->dir = $cfg['workingdir'];
+        $this->dir = $cfg['workingdir'] .'/working.' . $this->repo->shortname;
         $this->repo = $repo;
         
         MTrackSCM::run('git', 'string',