HomeSealhub

Omit "--" in older fallback commands for Git remote URIs

Description

Omit "--" in older fallback commands for Git remote URIs

Summary: Ref T13481. Some older versions of Git appear to not support "--" in these commands. Just drop it. This can lead to ambiguous results with certain obviously-silly remote names, but doesn't appear to lead to anything dangerous.

Test Plan: Will followup with user on ancient Git.

Maniphest Tasks: T13481

Differential Revision: https://secure.phabricator.com/D20952

Details

Provenance
epriestleyAuthored on Jan 24 2020, 01:37
kuba-orlikPushed on Jan 24 2022, 10:17
Parents
R118:70c0fd3f2233: In Git, fall back across versions more cleanly when trying to get the URI for a…
Branches
Unknown
Tags
Unknown

Event Timeline