Formatting arguments cost more than formatting. One formatter, one configuration
in the tree, and a check that refuses a diff.
There is a Windows-specific trap worth writing into the configuration now rather
than after somebody loses an afternoon to it. A formatter whose default line
ending is lf, run in a checkout made under core.autocrlf=true, reports every
tracked text file as failing on a tree with no modifications at all, and a real
formatting defect becomes indistinguishable from that noise.
Done when
A workflow exists whose check-run name is exactly format, it fails when the
formatter would change any tracked file, the configuration lives in the tree, and
a contributor on Windows running the documented command against a clean checkout
gets a clean result. Blocked on #99.
Formatting arguments cost more than formatting. One formatter, one configuration
in the tree, and a check that refuses a diff.
There is a Windows-specific trap worth writing into the configuration now rather
than after somebody loses an afternoon to it. A formatter whose default line
ending is
lf, run in a checkout made undercore.autocrlf=true, reports everytracked text file as failing on a tree with no modifications at all, and a real
formatting defect becomes indistinguishable from that noise.
Done when
A workflow exists whose check-run name is exactly
format, it fails when theformatter would change any tracked file, the configuration lives in the tree, and
a contributor on Windows running the documented command against a clean checkout
gets a clean result. Blocked on #99.