Main motivation for this is to make switching between branches faster: Down from 15 seconds to light-speed.
For things like git status and git diff I've figured out how to make them fast without this change: use the --ignore-submodules flags. But for git checkout I haven't found an equivalent.
I guess the underlying problem is that the submodules (XRT, etc.) get dirtied after cloning, and somehow this makes more work for git. Untracked files like src/runtime_src/core/common/api/version.h etc appear. I'm not 100% sure of this.
If someone has an alternative suggestion to getting lighting fast git checkout without this PR: please let me know.
Main motivation for this is to make switching between branches faster: Down from 15 seconds to light-speed.
For things like
git status
andgit diff
I've figured out how to make them fast without this change: use the--ignore-submodules
flags. But forgit checkout
I haven't found an equivalent.I guess the underlying problem is that the submodules (XRT, etc.) get dirtied after cloning, and somehow this makes more work for
git
. Untracked files likesrc/runtime_src/core/common/api/version.h
etc appear. I'm not 100% sure of this.If someone has an alternative suggestion to getting lighting fast
git checkout
without this PR: please let me know.