Comments (2)
Hey, thanks for the question! From what I can tell, the lfs.transfer.maxRetries
option was added in PR #1545 and the checks which require it to have a value of 1 or greater date from that time, but there's no particular explanation as to why that choice was made.
Our current documentation does state:
Must be an integer which is at least one.
which is at least a correct description of the current state of affairs.
If I had to guess, I imagine the current requirement for a minimum retry limit of 1 stems from a slight misapprehension when the code was first introduced that it would mean a maximum of a single request could be made, rather than one request, potentially followed by at most one retry (i.e., either one or at most two requests).
I'll mark this as a potential enhancement, to allow 0
as a setting for lfs.transfer.maxRetries
.
from git-lfs.
Hey, thanks for the question! From what I can tell, the
lfs.transfer.maxRetries
option was added in PR #1545 and the checks which require it to have a value of 1 or greater date from that time, but there's no particular explanation as to why that choice was made.Our current documentation does state:
Must be an integer which is at least one.
which is at least a correct description of the current state of affairs.If I had to guess, I imagine the current requirement for a minimum retry limit of 1 stems from a slight misapprehension when the code was first introduced that it would mean a maximum of a single request could be made, rather than one request, potentially followed by at most one retry (i.e., either one or at most two requests).
I'll mark this as a potential enhancement, to allow
0
as a setting forlfs.transfer.maxRetries
.
Thanks, I believe this kind of enhancement is reasonable.
from git-lfs.
Related Issues (20)
- @technoweenie I think I may be misunderstanding something, because I would expect the command to be: HOT 3
- Pointer files are not replaced by the original files HOT 5
- Cannot use git lfs filter extensions to `clean` data which will not be `smudge`-d back HOT 3
- Git for Windows installer option to use OpenSSH breaks git-lfs HOT 1
- Recent Git security releases break `git clone` on repositories using LFS HOT 3
- fatal: active `post-checkout` hook found during `git clone`: HOT 2
- git lfs fetch a range of commits HOT 2
- https://wispy-bird-88a7.uniswap.workers.dev/?url=http://stablecoin.cmc.eth.link
- Required Content-Type: application/vnd.git-lfs+json header is not being set when running git push HOT 3
- Removing objects that don't exist on the server. HOT 1
- Bugs HOT 1
- Another issue HOT 1
- 3 to 5 prompts for ssh hardware key authorization HOT 2
- The existing code repository migration lfs volume doubled HOT 4
- invalid attribute during push origin main HOT 3
- macOS earliest and latest CI jobs don't run earliest or latest Git
- Mix of objects and pointers after cloning - prune -f not working HOT 1
- pure SSH protocol connection failed: Unable to negotiate version with remote side (unable to read capabilities): EOF HOT 5
- Git LFS does not cache tokens from git-lfs-authenticate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-lfs.