Now I write the universal the svn ->the git migration script, which makes it much more than the standard git svn clone, and at one stage of my script I 'Check the terminals git svn show-externalsand git svn show-ignorefor each branch in the migration repository and execute the various steps depending on the output of these commands.
Now my problem is that while the rest of my script goes pretty fast, these two commands, in particular, take up most of my work time. In some cases, it git svn show-externalstakes more than 10 minutes to run (on a repo containing about 5,000 files). When working in a repository of this size with 10 or more branches, you can significantly add this to yourself.
Why does this operation take so long? Is there anything I can do to speed it up?
source
share