Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Return only modified lines in formatting responses #1385

Merged
merged 6 commits into from
Apr 6, 2019

Conversation

Xanewok
Copy link
Member

@Xanewok Xanewok commented Mar 2, 2019

Ticks few boxes in #3. (that's an early issue!)
Closes #334.

This is currently based on rust-lang/rustfmt#3424 and so currently blocked until it merges.

Configures Rustfmt to use EmitMode::ModifiedLines and parses the response - this should work with both statically-linked and externally provided Rustfmt.

@alexheretic do you think you could take a look and double-check?

@Xanewok Xanewok added the blocked Blocked on external issue/PR label Mar 2, 2019
@alexheretic
Copy link
Member

@Xanewok I'll try to take a look in the week but unfortunately I'm quite busy at the moment.

@Xanewok Xanewok removed the blocked Blocked on external issue/PR label Mar 4, 2019
@Xanewok Xanewok force-pushed the rustfmt-modified-lines branch 2 times, most recently from 728d16b to 50910d7 Compare March 5, 2019 12:06
Cargo.toml Outdated Show resolved Hide resolved
@Xanewok Xanewok added the blocked Blocked on external issue/PR label Mar 13, 2019
@bors
Copy link
Contributor

bors commented Mar 17, 2019

☔ The latest upstream changes (presumably #1402) made this pull request unmergeable. Please resolve the merge conflicts.

@Xanewok Xanewok removed the blocked Blocked on external issue/PR label Mar 17, 2019
@Xanewok Xanewok force-pushed the rustfmt-modified-lines branch 2 times, most recently from 6b6f307 to 5d9cb76 Compare March 20, 2019 19:01
@Xanewok
Copy link
Member Author

Xanewok commented Apr 6, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Apr 6, 2019

📌 Commit e17a9e4 has been approved by Xanewok

@bors
Copy link
Contributor

bors commented Apr 6, 2019

⌛ Testing commit e17a9e4 with merge 49efc06...

bors added a commit that referenced this pull request Apr 6, 2019
Return only modified lines in formatting responses

Ticks few boxes in #3. (that's an early issue!)
Closes #334.

This is currently based on rust-lang/rustfmt#3424 and so currently blocked until it merges.

Configures Rustfmt to use `EmitMode::ModifiedLines` and parses the response - this should work with both statically-linked and externally provided Rustfmt.

@alexheretic do you think you could take a look and double-check?
@bors
Copy link
Contributor

bors commented Apr 6, 2019

☀️ Test successful - checks-travis
Approved by: Xanewok
Pushing 49efc06 to master...

@bors bors merged commit e17a9e4 into rust-lang:master Apr 6, 2019
@Xanewok Xanewok mentioned this pull request Apr 7, 2019
9 tasks
@Xanewok Xanewok deleted the rustfmt-modified-lines branch April 11, 2019 13:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants