-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch: highlight the trailing white space in diff view
Summary: This diffs make the worddiff highlights the trailing white space. Trailing white space is hard to see, highlighting it will make it easier to review the changes. Another alternative solution is to change the "tokenizer" to make it cannot have two consecutive tokens like `(True, b" "), (False, b"\n")`. This approach is likely faster but less robust than the change proposed in this diff. Reviewed By: sggutier Differential Revision: D64603891 fbshipit-source-id: 608939288837ebae4bb522915e44a3b2df6480d5
- Loading branch information
1 parent
d5fe7f2
commit ad984d8
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters