Page MenuHomePhabricator

Rename "arc diff --preview" to "arc diff --only"
ClosedPublic

Authored by epriestley on Oct 27 2017, 4:25 PM.
Tags
None
Referenced Files
F18377109: D18740.diff
Thu, Aug 28, 12:07 PM
F18321392: D18740.diff
Sun, Aug 24, 4:53 PM
F18112627: D18740.id44979.diff
Tue, Aug 12, 7:12 PM
F18109776: D18740.id44989.diff
Mon, Aug 11, 3:17 PM
F18106276: D18740.id.diff
Sun, Aug 10, 10:07 PM
F18102706: D18740.diff
Sat, Aug 9, 10:51 PM
F17842532: D18740.id44979.diff
Jul 26 2025, 11:46 PM
F17840559: D18740.id44989.diff
Jul 26 2025, 9:17 PM
Subscribers
None

Details

Summary

Experimental branch. Depends on D18739. Ref T2543.

To prepare for --draft, consolidate --preview and --only.

The old --preview is now arc diff --only.

The old --only is now arc diff --only --nounit --nolint.

I think this is more clear than other ways we could do it, since the difference between "draft" and "preview" seems less clear than the difference between "draft" and "only".

Test Plan

Ran arc diff --only and arc diff --only --nounit --nolint.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable