Skip to content

Why not use git submodule to manage the third dependence? #16

Answered by domchen
peerless2012 asked this question in Q&A
Discussion options

You must be logged in to vote

Google actually uses a similar dependency synchronization strategy for their projects too. The depsync tool offers several key advantages compared to git submodules:

  1. It is not only for checking out repositories, but also can be configured to download files from the Internet URL.
  2. By default, the repositories are checked out with a depth of 1, ensuring that the main project maintains a relatively compact size at all times. While it's true that git submodule offers a similar capability, it requires explicitly specifying more intricate checkout arguments, making it a less straightforward approach.
  3. You can configure separate repositories or internet files for various platforms. This way, you …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by domchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants