Switch git-lfs file size check from du -k to wc -c - #1022
Conversation
|
From a quick bit of searching online, if anything it seems that The latter sounds more intensive but still seems very quick. The biggest file I could quickly find in a recent test checkout was |
|
I would do I am concerned about your file system though. Are you running the checkout and the build on the same node? |
|
Good idea to not read the entire file. Yes, the checkout and build were all running on the same node, interactively through the |
|
I am wondering whether |
I'm having some trouble getting the lustre filesystem on my cluster to pass this check, which is erroneously returning a small number of 1K blocks despite the full file being in place. It looks like this
wc -ccheck should work as an alternative. Would there be any downside to this?