scttnlsn / dandelion

Incremental Git repository deployment.
http://scttnlsn.github.io/dandelion
MIT License
738 stars 60 forks source link

Incorrectly handles symlinks #52

Closed dphoyes closed 10 years ago

dphoyes commented 10 years ago

Symbolic links in the repository are uploaded as plain text files, rather than being created as working symlinks.

scttnlsn commented 10 years ago

I think that this is just the way that Git works. Git follows the symlink and commits its contents. Please re-open if I'm wrong.

dphoyes commented 10 years ago

Sorry, I perhaps could have been clearer. For a symlink, the file which dandelion creates on the remote server is a plaintext file containing just the path to the link destination. I believe this is because this is Git's internal representation for symlinks, and that they need to be treated differently from normal files when checking them out.

scttnlsn commented 10 years ago

@dphoyes Have you tried this with the latest version of Dandelion (0.4.1)?

scttnlsn commented 10 years ago

@dphoyes Nevermind- same problem. I'll look into it.

scttnlsn commented 10 years ago

Fixed in v0.4.2