Page MenuHomePhabricator

Merge the "--raw" and "--raw-command" flags to "arc diff" into "--raw <path>"
Needs ReviewPublic

Authored by epriestley on May 30 2020, 11:16 PM.
Tags
None
Referenced Files
F23053922: D21305.id50722.diff
Thu, Dec 3, 5:17 PM
Unknown Object (File)
Wed, Dec 2, 11:44 AM
Unknown Object (File)
Mon, Nov 30, 11:05 PM
Unknown Object (File)
Mon, Nov 30, 11:02 AM
Unknown Object (File)
Fri, Nov 27, 7:41 AM
Unknown Object (File)
Thu, Nov 26, 11:06 PM
Unknown Object (File)
Thu, Nov 26, 12:04 AM
Unknown Object (File)
Wed, Nov 25, 12:58 AM
Subscribers
None
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Maniphest Tasks
T13544: Modernize the "arc diff" workflow
Summary

Ref T13544. These flags can reasonably be combined into a single flag, and I'm also not entirely comfortable with executing arbitrary subprocesses directly from CLI arguments in modern arc. There are other ways to accomplish this goal, but I'd like to move toward fewer sources of arbitrary command execution.

Test Plan

Created this revision with git show | arc diff --raw.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 24544
Build 33828: arc lint + arc unit

Event Timeline

epriestley created this revision.