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

Only source varstash lib if it's being used #42

Closed
wants to merge 2 commits into from

Conversation

blueyed
Copy link
Collaborator

@blueyed blueyed commented Apr 26, 2016

I have noticed that autostash called an (accidentally)
defined/overwritten stash function.

While it's not possible to put this into a local scope, this will at
least make it less polluting by default (when autostashing is not used).

Additionally we could source it always (not just once), but then it
would only re-overwrite the function.

A better fix would be to prefix the functions explicitly, e.g.
autoenv_autostash etc.

I have noticed that `autostash` called an (accidentally)
defined/overwritten `stash` function.

While it's not possible to put this into a local scope, this will at
least make it less polluting by default (when autostashing is not used).

Additionally we could source it always (not just once), but then it
would only re-overwrite the function.

A better fix would be to prefix the functions explicitly, e.g.
`autoenv_autostash` etc.
@Tarrasch
Copy link
Owner

To be honest I haven't used any of the autostash stuff yet. I don't know where to begin to review ^^

@blueyed blueyed closed this in ecf2b29 Apr 28, 2016
@blueyed
Copy link
Collaborator Author

blueyed commented Apr 28, 2016

Don't worry, merged it.. :)

@blueyed blueyed deleted the lazy-source-varstash branch April 28, 2016 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants