| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| if (compareOptions.WhitespaceMode != null) | ||
| { | ||
| if (compareOptions.WhitespaceMode == DiffWhitespaceMode.IgnoreAllWhitespaces) | ||
| { | ||
| options.Flags |= GitDiffOptionFlags.GIT_DIFF_IGNORE_WHITESPACE; | ||
| } | ||
| else if (compareOptions.WhitespaceMode == DiffWhitespaceMode.IgnoreWhitespaceChange) | ||
| { | ||
| options.Flags |= GitDiffOptionFlags.GIT_DIFF_IGNORE_WHITESPACE_CHANGE; | ||
| } | ||
| else | ||
| { | ||
| options.Flags |= GitDiffOptionFlags.GIT_DIFF_IGNORE_WHITESPACE_EOL; | ||
| } | ||
| } |
There was a problem hiding this comment.
Just a thought:
| if (compareOptions.WhitespaceMode != null) | |
| { | |
| if (compareOptions.WhitespaceMode == DiffWhitespaceMode.IgnoreAllWhitespaces) | |
| { | |
| options.Flags |= GitDiffOptionFlags.GIT_DIFF_IGNORE_WHITESPACE; | |
| } | |
| else if (compareOptions.WhitespaceMode == DiffWhitespaceMode.IgnoreWhitespaceChange) | |
| { | |
| options.Flags |= GitDiffOptionFlags.GIT_DIFF_IGNORE_WHITESPACE_CHANGE; | |
| } | |
| else | |
| { | |
| options.Flags |= GitDiffOptionFlags.GIT_DIFF_IGNORE_WHITESPACE_EOL; | |
| } | |
| } | |
| if (compareOptions.WhitespaceMode == DiffWhitespaceMode.IgnoreAllWhitespaces) | |
| { | |
| options.Flags |= GitDiffOptionFlags.GIT_DIFF_IGNORE_WHITESPACE; | |
| } | |
| else if (compareOptions.WhitespaceMode == DiffWhitespaceMode.IgnoreWhitespaceChange) | |
| { | |
| options.Flags |= GitDiffOptionFlags.GIT_DIFF_IGNORE_WHITESPACE_CHANGE; | |
| } | |
| else if (compareOptions.WhitespaceMode == DiffWhitespaceMode.IgnoreWhitespaceEol) | |
| { | |
| options.Flags |= GitDiffOptionFlags.GIT_DIFF_IGNORE_WHITESPACE_EOL; | |
| } |
Sorry, something went wrong.
No I don't have write access |
Sorry, something went wrong.
|
@bording can we ask you to merge this? It would help a lot as we had to use a forked version for the last year. |
Sorry, something went wrong.
|
There's also a similar PR from the original issue's OP: #1779 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Address #1778