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

add PrepareFetch::with_leave_dirty() to avoid cleanup on drop. #1805

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ColinKinloch
Copy link

I want to be able to use PrepareFetch etc. on a given directory without it being deleted on failure.

Currently I'm checking out to a temporary directory and moving them to the target directory, which may generally be a better idea than this MR 🤷.

I'm not sure about the leave_dirty name, persist is used for a similar concept. I'm open to suggestions.

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.

1 participant