git子模块更新很慢。我怎样才能调试它为什么很慢? [英] git submodule update is slow. How can I debug why it's slow?
问题描述
我使用git submodule和 git submodule update --init --recursive
命令很慢(8秒),尽管似乎没有更新要更新。 p>
我想调试为什么它很慢,但似乎没有 - verbose
开关。任何想法调试它在做什么?
我正在运行Ubuntu 14.04和Git 1.9。
由于没有实际结帐和复制的变化,这留下了两个主要根源: I'm using git submodule and I want to debug why it's slow but it seems there is no I'm running Ubuntu 14.04 and Git 1.9. Since there is no change to actually checkout and copy, that leaves two main root causes: 这篇关于git子模块更新很慢。我怎样才能调试它为什么很慢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
git子模块更新
自旧git 1.9开始优化:查看问题是否持续使用最新的git 2.6.4 在 $ / $> git submodule update --init --recursive
command is slow (8 sec) although there seems no changes to be updated.--verbose
switch. Any idea to debug what it's doing?
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