What is the error about maximum snapshot size about #2195
-
I've just had this error when adding a new image file: I've found out how to fix it (setting a bigger snapshot.max-new-file-size), but I'm not sure what this setting is about. I've found the PR that merged this in, but there is no reason given why this setting is added or if there are any issues with setting a bigger value. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The idea is to prevent accidentally committing large files and increasing the size of your repo. If you're not worried about that, there's no reason not to increase the limit. It seems like we can at least improve the error message. |
Beta Was this translation helpful? Give feedback.
-
I created #2198 to make the error a little clearer. |
Beta Was this translation helpful? Give feedback.
The idea is to prevent accidentally committing large files and increasing the size of your repo. If you're not worried about that, there's no reason not to increase the limit. It seems like we can at least improve the error message.