We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git already does store submodule commit hash in a commit.
Example: andry81-tests/gil-test1-A@f5f753f
Which means if the yaml file has the version field then, it actually by default overrides a submodule branch commit to be checkouted:
version
repositories: _externals/lib1: type: git url: https://github.com/user/lib1 version: master
The _externals/lib1 is already committed here with the external repo hash (the url is not known internally).
_externals/lib1
I suggest to add an option to import command to use versions recorded for all submodules:
import
>vcs import --use-internal-version < .externals
This will checkout versions has been committed the last time, not the versions declared in the .externals yaml file.
.externals
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Git already does store submodule commit hash in a commit.
Example: andry81-tests/gil-test1-A@f5f753f
Which means if the yaml file has the
version
field then, it actually by default overrides a submodule branch commit to be checkouted:The
_externals/lib1
is already committed here with the external repo hash (the url is not known internally).I suggest to add an option to
import
command to use versions recorded for all submodules:This will checkout versions has been committed the last time, not the versions declared in the
.externals
yaml file.The text was updated successfully, but these errors were encountered: