git submodule update is slow. How can I debug why it's slow?

前端 未结 2 400
自闭症患者
自闭症患者 2020-12-10 12:20

I\'m using git submodule and git submodule update --init --recursive command is slow (8 sec) although there seems no changes to be updated.

I want to de

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-10 12:37

    Since there is no change to actually checkout and copy, that leaves two main root causes:

    • the url of the submodule is slow to respond
    • or git submodule update was optimized since the old git 1.9: see if the issue persists with the latest git 2.6.4 found in the launchpad ppa

提交回复
热议问题