You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When scanning blobs, Git LFS uses a byte size cutoff to filter out blobs that can't possibly be LFS pointers. Currently, this is easy since every pointer looks like this:
version https://git-lfs.github.com/spec/v1\n
oid sha256:{64-hex-string}\n
size 1234567890\n
The only variable length portion here is the size. A cutoff of 140 bytes is enough to handle really large files. With the upcoming Extensions feature, this now varies depending on what extensions are configured.
If we teach the scanner how to estimate a max size, then default repositories can continue to filter blobs over 140 bytes. Other repos with one or more extensions should have a higher limit, which means they'll have to scan more blobs.
Activity
technoweenie commentedon Aug 18, 2016
Should also limit extension size /cc #747