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

Seems to require absolute path in remote

Open anamba opened this issue 12 years ago • 3 comments

Relative paths in the remote specification (i.e. starting from $HOME) should be left unharmed. Currently, git deploy setup appears to add a '/' before the path, which will break any relative path.

anamba avatar Jan 11 '14 02:01 anamba

I see the need to force absolute paths, but then maybe it would be good thing to handle the error. The script breaks apart because mk dir returns "you do not have premissions". Usually that mistake means your not pointing the right folder. Also what happens if you do have permissions and he creates the repo in the wrong place?

Struki84 avatar Jul 14 '14 09:07 Struki84

I'm also experiencing this problem. Having a remote like user@host:directory/repo should mean repo is deployed into $HOME/directory, not /directory.

stefanotorresi avatar Oct 26 '15 18:10 stefanotorresi

I agree that relative paths should not be transformed into absolute. Does anyone want to take a stab at a pull request?

mislav avatar Oct 26 '15 19:10 mislav