`git cl format` should not reformat files that have merely been moved |
||
Issue descriptionContext https://groups.google.com/a/chromium.org/forum/#!topic/cxx/iXO72ePN4Jk -- sounds like `git cl format` formats files that have been `git mv`d. It shouldn't do that, it only should reformat lines that have "really" been touched. We run `git diff -U0` (here: https://cs.chromium.org/chromium/tools/depot_tools/git_cl.py?type=cs&q=clang-format-diff.py+package:%5Echromium$&l=5846) Do we just need to tack on `-M90%` or some such to that? cc'ing a collection of clang-format and git folks.
,
Oct 26 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by primiano@chromium.org
, Jun 28 2017