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

Clean up previous Cargo.lock files #111

Closed
Scrumplex opened this issue Jan 20, 2024 · 0 comments · Fixed by #114
Closed

Clean up previous Cargo.lock files #111

Scrumplex opened this issue Jan 20, 2024 · 0 comments · Fixed by #114

Comments

@Scrumplex
Copy link

Assuming the following nvfetcher.toml:

[foo]
src.git = "https://github.com/foo/bar.git"
fetch.git = "https://github.com/foo/bar.git"
cargo_locks = ["Cargo.lock"]

Now, if I run nvfetcher --commit-changes it'll create a new Cargo.lock at _source/foo-*/Cargo.lock without cleaning up the old one if there is a new commit.

I'd like nvfetcher to get rid of old (and now unused) lock files to keep Git diffs small

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 a pull request may close this issue.

1 participant