Skip to content

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.

@chrisd8088 chrisd8088 requested a review from a team as a code owner January 14, 2025 18:21
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