Closed
Bug 1674281
Opened 4 years ago
Closed 1 year ago
./mach clang-format does different things depending on whether the repo is hg or git
Categories
(Developer Infrastructure :: Source Code Analysis, defect, P2)
Developer Infrastructure
Source Code Analysis
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jrmuizel, Unassigned)
References
Details
On an hg repo ./mach clang-format
will reformat the most recent commit. On a git repo ./mach clang-format
only reformats the pending changes. One needs to use ./mach clang-format -c HEAD
to get the same behaviour as with a mercurial repo.
Updated•4 years ago
|
Blocks: clang-format
Comment 1•4 years ago
|
||
The severity field is not set for this bug.
:andi, could you have a look please?
For more information, please visit auto_nag documentation.
Flags: needinfo?(bpostelnicu)
Updated•4 years ago
|
Severity: -- → S2
Flags: needinfo?(bpostelnicu)
Priority: -- → P2
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
Comment 2•1 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #0)
On an hg repo
./mach clang-format
will reformat the most recent commit.
Sometimes it does. Sometimes it does not.
See Also: → 1545276
Comment 3•1 year ago
|
||
With the git move, we won't have inconsistency anymore.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•