Open denis256 opened 10 months ago
Noticed that go-getter handles incorrectly git paths which have slashes in ref parameter
ref
Example:
# go-getter 1.7.3 $ go-getter "github.com/denis256/terraform-test-module.git//modules/test-file?ref=master" /tmp/test/ 2024/01/22 17:16:09 success! $ go-getter "github.com/denis256/terraform-test-module.git//modules/test-file?ref=team/ABC-1234-component" /tmp/test/ 2024/01/22 17:18:19 Error downloading: error downloading 'https://github.com/denis256/terraform-test-module.git?ref=team': /usr/bin/git exited with 1: error: pathspec 'team' did not match any file(s) known to git
Looks like it is attempted to get https://github.com/denis256/terraform-test-module.git?ref=team instead of ref=team/ABC-1234-component
https://github.com/denis256/terraform-test-module.git?ref=team
ref=team/ABC-1234-component
Noticed that go-getter handles incorrectly git paths which have slashes in
ref
parameterExample:
Looks like it is attempted to get
https://github.com/denis256/terraform-test-module.git?ref=team
instead ofref=team/ABC-1234-component