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

[FEATURE REQUEST] Read checkout to be able to read data from staging area #207

Open
hhsecond opened this issue Jul 29, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@hhsecond
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently, read checkout won't be able to read data from the staging area. I was wondering what would be the technical difficulties for reading data from staging area

Describe the solution you'd like
repo.checkout(stage=True) or something similar could give access to the staging area. I think the major bottleneck from implementing this is the fact that the staging area could change and might even make the data unavailable. Maybe we could have a flag changes when the data changes and on read from a stage checkout, it could let the reading process know that the data changed (not the specific information but just that the data changed) and it can invalidate the checkout?

@hhsecond hhsecond added the enhancement New feature or request label Jul 29, 2020
@rlizzo
Copy link
Member

rlizzo commented Aug 1, 2020

This isn't the craziest thing to do from a technical standpoint, but I'm wondering what the motivation for allowing this is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants