mislav/git-deploy — pull request #49 by nilsbunger (2013-08-18 01:44:32+00:00)
Title: Strip whitespace from git remote

On my local machine, the 'remote' string always ended up with a space at the end. I'm not sure this is the best fix, but adding this 'strip' fixed the issue for me.

The issue occurred on my Mac (Mountain Lion), with system-default git (git version 1.7.12.4 (Apple Git-37)) and ruby (ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]

This patch fixes it for me. Happy to help debug or help if you need more repro info.