Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

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

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 debug why it's slow but it seems there is no --verbose switch. Any idea to debug what it's doing?

I'm running Ubuntu 14.04 and Git 1.9.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...