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 fetch/prune options to safe keys for lfsconfig #4114

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

Conversation

JungPhilipp
Copy link

Some users want to specify other defaults for fetch/prune options, e.g.,
enable lfs.fetchrecentalways.

Add fetch and prune options to list of safe keys for .lfsconfig.
Update the documentation to include the new list safe keys.

This adds the following keys to the list of safe keys:

  • lfs.fetchrecentrefsdays
  • lfs.fetchrecentremoterefs
  • lfs.fetchrecentcommitsdays
  • lfs.fetchrecentalways
  • lfs.pruneoffsetdays

Fixes #4111

Some users want to specify other defaults for fetch/prune options, e.g.,
enable lfs.fetchrecentalways.

Add fetch and prune options to list of safe keys for .lfsconfig.

Update the documentation to include the new list safe keys.
Base automatically changed from master to main February 2, 2021 16:36
@Eli-Black-Work
Copy link

I realize this PR is pretty old, but I'd still be interested in having this merged 🙂 Anyone around to review? 🙂

@bk2204
Copy link
Member

bk2204 commented Aug 2, 2022

I think my position as outlined in #4111 still stands. I'm not comfortable with adding more keys to the .lfsconfig in this way, but if the PR is fixed to avoid the conflict, perhaps one of the other core team members would be willing to do it.

@Eli-Black-Work
Copy link

Thanks, @bk2204 🙂 After thinking about this some more, I think our team probably wouldn't use this feature, anyway, because we wouldn't want these settings to apply to both our dev machines and the build server.

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.

Allow to set fetch options in .lfsconfig
3 participants