optionally disable git lfs when cloning #684
Replies: 3 comments
-
|
Background on CPM Internals
The only potential way to modify the Hopefully, this additional context about CPM’s internals will be helpful to you or others. :) |
Beta Was this translation helpful? Give feedback.
-
|
😢 OK, thanks for the detailed explanation @Avus-c! That helps narrow down where a potential fix might occur. |
Beta Was this translation helpful? Give feedback.
-
|
For reference, also this older discussion along same lines: #518 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using CPMAddPackage, it would help if there was a separate parameter for
GIT_LFS, similar toGIT_SHALLOW.Problem: some git repos contain large files for testing that should not be pulled by CPM during build processes. It would help if the user of CPM could enable/disable use of git-lfs with each use of CPMAddPackage.
Proposed Solution: Add a new parameter here for
GIT_LFSthat is boolean. So it could be used like this:The default should be backward compatible: TRUE.
Beta Was this translation helpful? Give feedback.
All reactions