Ref T4175. The clone commands we print have quoted arguments, but usually don't need them. Add "%R", which is like "%s" but only adds quotes if they're required. This produces slightly more readable commands in the few cases we're generating commands for users to copy/paste.
Details
Details
- Reviewers
btrahan chad - Maniphest Tasks
- T4175: Add a .git for git repositories
- Commits
- rPHUe60dca3649f4: Add "%R" to csprintf(), for printing more readable commands
Added unit tests. Looked up shell metacharacters to double check my definition.
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped