-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix an issue with extra space in unified diff (#150)
The GetUnifiedDiffString returns all lines with an extra character at beginning of each line: `+`, `-`, ` ` (space). The code properly handled the `+` and `-`, but not handled ` ` (space) character at all. So all changed code got an additional space at the beginning of each line. This change fixes the issue. Issue is not critical, because simple `go fmt` removes that space and this is the reason I didn't catch it earlier. Signed-off-by: Sergey Vilgelm <sergey@vilgelm.com>
- Loading branch information
Showing
2 changed files
with
8 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