simple-php-git-deploy icon indicating copy to clipboard operation
simple-php-git-deploy copied to clipboard

Two branches on same machine get messy

Open dandaka opened this issue 8 years ago • 0 comments

Now

  1. User has 2 versions of a rep (master and beta)
  2. Updates at the same time
  3. Things get messy, since both updates use same folder

config.php → define('TMP_DIR', '/tmp/spgd-'.md5(REMOTE_REPOSITORY).'/');

Should be

config.php → define('TMP_DIR', '/tmp/spgd-'.md5(REMOTE_REPOSITORY+BRANCH).'/');

dandaka avatar May 23 '17 14:05 dandaka