Page MenuHomePhabricator

Remove "--use-commit-message/-C" from "arc diff"
ClosedPublic

Authored by epriestley on May 30 2020, 9:34 PM.
Tags
None
Referenced Files
F18735942: D21296.id.diff
Wed, Oct 1, 4:07 AM
F18734310: D21296.id.diff
Tue, Sep 30, 10:51 PM
F18650123: D21296.diff
Sep 20 2025, 11:33 PM
F18648654: D21296.id.diff
Sep 20 2025, 4:37 PM
F18619376: D21296.diff
Sep 15 2025, 2:21 AM
F18392455: D21296.id50712.diff
Aug 29 2025, 8:17 AM
F18392287: D21296.id50712.diff
Aug 29 2025, 8:09 AM
F18391729: D21296.id50739.diff
Aug 29 2025, 7:46 AM
Subscribers
None

Details

Summary

Ref T13544. This flag was introduced in D1385 (2012) as part of a workflow which no longer exists. I can't recall anyone ever reporting an issue which involves its use and believe it is likely unused. It's not obvious to me why someone would use it in modern "arc".

(The same goal can be accomplished with "--message-file ...", although this requires more steps.)

Test Plan

Grepped for "use-commit-message" and "getCommitMessageFromCommit", ran "arc diff".

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable