Skip to content
New issue

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

Fix cloning from ADO repos #10954

Merged
merged 1 commit into from Oct 7, 2022
Merged

Fix cloning from ADO repos #10954

merged 1 commit into from Oct 7, 2022

Commits on Oct 7, 2022

  1. Fix cloning from ADO repos

    Small path bug, "git clone" by default clones to a new folder based on
    the last part of the repo name. So running something like `pulumi new
    https://fraser0275@dev.azure.com/fraser0275/fraser/_git/fraser` resulted
    in us making a folder like /tmp/pulumi-templates-1234/fraser with all
    the templates in it. That last part of the path was unexpected, because
    when we use gogit it clones directly into the target directory we give
    it.
    
    Simple fix to just add `.` to the git clone command. I also added some
    logging while I was about here, given it helped me work out this issue.
    Frassle committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    3b97bf5 View commit details
    Browse the repository at this point in the history