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
F19215463: D21296.diff
Wed, Dec 17, 6:12 AM
F19083344: D21296.id50739.diff
Dec 2 2025, 12:34 PM
F19080277: D21296.diff
Dec 2 2025, 12:49 AM
F19080274: D21296.diff
Dec 2 2025, 12:48 AM
F19080272: D21296.diff
Dec 2 2025, 12:47 AM
F19080259: D21296.diff
Dec 2 2025, 12:31 AM
F19057900: D21296.id50712.diff
Nov 29 2025, 12:23 AM
F19040065: D21296.diff
Nov 26 2025, 10:41 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