rhd-gitops-example / services

Intra-Git repository promotions for GitOps.
Apache License 2.0
7 stars 8 forks source link

Handle to/from URLs without .git suffix #82

Closed a-roberts closed 4 years ago

a-roberts commented 4 years ago

This is to prevent the path being mangled (if it didn't have .git, the path to use would no longer be correct), so users can use --from or --to without .git on the end now

Closes https://github.com/rhd-gitops-example/services/issues/81

A test would be helpful but we don't have any test coverage that directly hits createPullRequest so open to suggestions