Open
Bug 1674281
Opened 4 years ago
Updated 1 years 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)
NEW
People
(Reporter: jrmuizel, Unassigned)
References
(Blocks 1 open bug)
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.
You need to log in
before you can comment on or make changes to this bug.
Description
•