Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote cwd overuse #238

Merged
merged 2 commits into from Nov 23, 2015
Merged

Remote cwd overuse #238

merged 2 commits into from Nov 23, 2015

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Nov 3, 2015

This is a proposed fix for #236, absolute paths now shortcut to being used without calling pwd directly.

This also uses ._cwd to stash the current working directory. If the attribute exists, that is used instead of the cwd. I think this is the only allowed way to change the path; if ('cd', ...) is called directly through the machine it will not change the stash here. This is similar to the old behavior in < 1.6.0, but still keeping the immutable nature of the 1.6.0 paths.

@henryiii henryiii added this to the v1.6.1 milestone Nov 3, 2015
tomerfiliba added a commit that referenced this pull request Nov 23, 2015
@tomerfiliba tomerfiliba merged commit 6403586 into master Nov 23, 2015
@henryiii henryiii deleted the remotepwd branch December 28, 2016 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants