schickling / git-s3

Easy way to deploy your git repo to an AWS S3 bucket
231 stars 38 forks source link

Git Exception on Windows #13

Open murwa opened 9 years ago

murwa commented 9 years ago

Hey, getting a GitException on windows. Any workaround?

Khrall commented 8 years ago

Not sure if this is the same as mine, I get:

[GitWrapper\GitException]
  'C:\Program' is not recognized as an internal or external command,
  operable program or batch file.

Here's the trace:

Exception trace:
 () at C:\Users\Khrall\AppData\Roaming\Composer\vendor\cpliakas\git-wrapper\src\GitWrapper\GitWrapper.php:511
 GitWrapper\GitWrapper->run() at C:\Users\Khrall\AppData\Roaming\Composer\vendor\cpliakas\git-wrapper\src\GitWrapper\GitWorkingCopy.php:163
 GitWrapper\GitWorkingCopy->run() at C:\Users\Khrall\AppData\Roaming\Composer\vendor\cpliakas\git-wrapper\src\GitWrapper\GitWorkingCopy.php:624
 GitWrapper\GitWorkingCopy->log() at C:\Users\Khrall\AppData\Roaming\Composer\vendor\schickling\git-s3\src\GitS3\Console\Application.php:77
 GitS3\Console\Application->getCurrentHash() at C:\Users\Khrall\AppData\Roaming\Composer\vendor\schickling\git-s3\src\GitS3\Console\Application.php:69
 GitS3\Console\Application->saveLastDeploy() at C:\Users\Khrall\AppData\Roaming\Composer\vendor\schickling\git-s3\src\GitS3\Console\Commands\DeployCommand.php:33
 GitS3\Console\Commands\DeployCommand->execute() at C:\Users\Khrall\AppData\Roaming\Composer\vendor\symfony\console\Command\Command.php:259
 Symfony\Component\Console\Command\Command->run() at C:\Users\Khrall\AppData\Roaming\Composer\vendor\symfony\console\Application.php:844
 Symfony\Component\Console\Application->doRunCommand() at C:\Users\Khrall\AppData\Roaming\Composer\vendor\symfony\console\Application.php:192
 Symfony\Component\Console\Application->doRun() at C:\Users\Khrall\AppData\Roaming\Composer\vendor\symfony\console\Application.php:123
 Symfony\Component\Console\Application->run() at C:\Users\Khrall\AppData\Roaming\Composer\vendor\schickling\git-s3\bin\git-s3:16
mackness commented 7 years ago

I get this on a mac

[GitWrapper\GitException]                                   
fatal: bad object c4985f0341060d46d1f775a8a9eb16a0dc6de153