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

UX improvement for HEAD pointing to non-existent snapshots or inconsistent worktree #92

Open
peterwaller-arm opened this issue Sep 13, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@peterwaller-arm
Copy link
Contributor

#90 highlighted that things can get a bit confusing if users move files around themselves. This behaviour doesn't seem unreasonable to me in some circumstances. For example, moving or copying an elfshaker_data with a HEAD file to an empty directory seems supportable if we special case the 'worktree is empty' case, we could just ignore the HEAD. I can't think of a case where this would be unwanted behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant