Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
weissi opened this issue May 1, 2020 · 1 comment
Open

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

weissi opened this issue May 1, 2020 · 1 comment

Comments

@weissi
Copy link
Member

weissi commented May 1, 2020

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.

@beccadax
Copy link

beccadax commented May 5, 2020

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants