Uploaded image for project: 'Swift'
  1. Swift
  2. SR-12713

Only reformat lines affected by a PR anyway

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: swift-format
    • Labels:
      None

      Description

      It would be really useful to have a mode where swift-format would only touch lines that are anyway affected + ..... by a given diff already.

      That way, gradually reformatting projects without a big-bang-reformat-everything commit that keeps git blame etc working is possible.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jw Johannes Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: