Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Seems to require absolute path in remote #57

Open
anamba opened this issue Jan 11, 2014 · 3 comments
Open

Seems to require absolute path in remote #57

anamba opened this issue Jan 11, 2014 · 3 comments

Comments

@anamba
Copy link

anamba commented Jan 11, 2014

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.

@Struki84
Copy link

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?

@stefanotorresi
Copy link

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

@mislav
Copy link
Owner

mislav commented Oct 26, 2015

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants