fabacab / git-archive-all.sh

A bash shell script wrapper for git-archive that archives a git superproject and its submodules, if it has any.
214 stars 86 forks source link

Speed up submodules archival progress #36

Closed viciious closed 7 years ago

viciious commented 7 years ago

git submodules is an expensive command so cache its output to a temporary file

This reduced the archival time from 180s to 9s for our git repository.

viciious commented 7 years ago

Amended the original commit as per requested.

fabacab commented 7 years ago

Looks great, thank you!