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

Separate VCS command paths with "--" #10483

Merged
merged 1 commit into from
Mar 17, 2022
Merged

Separate VCS command paths with "--" #10483

merged 1 commit into from
Mar 17, 2022

Commits on Mar 17, 2022

  1. Separate VCS command paths with "--"

    When building a VCS command, there may be ambiguity if a relative path
    looks like an option, like "-path" or "--path". All of the VCS commands
    that we use support a bare "--" separator for non-option arguments,
    which is good practice to apply here.
    
    This does not affect the cargo CLI, as it already makes sure to use
    absolute paths for these calls via `value_of_path()`.
    cuviper committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    58508e2 View commit details
    Browse the repository at this point in the history