Skip to content

[SR-12713] Only reformat lines affected by a PR anyway #330

Open

Description

@weissi
Previous ID SR-12713
Radar rdar://problem/62895080
Original Reporter @weissi
Type New Feature
Additional Detail from JIRA
Votes 0
Component/s swift-format
Labels New Feature
Assignee None
Priority Medium

md5: 865a49d6606d030111060220aa1c8631

Issue 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.

Activity

  1. beccadax commented on May 5, 2020

    @beccadax

    @swift-ci create

  2. transferred this issue fromswiftlang/swifton May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions