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

Patch diff with ignore white space #1778

Open
Divad-H opened this issue Apr 4, 2020 · 3 comments
Open

Patch diff with ignore white space #1778

Divad-H opened this issue Apr 4, 2020 · 3 comments

Comments

@Divad-H
Copy link

Divad-H commented Apr 4, 2020

When creating a patch diff using Diff.Compare I did not find any option to ignore white space.

I think CompareOptions should contain an enum corresponding to the git diff settings:

--ignore-all-space
--ignore-space-change
--ignore-space-at-eol

Currently there is a WhitespaceMode in SimilarityOptions. However, this is intended for handling white space while detecting renames and copies.

I intend to submit a pull request for this.

Version of LibGit2Sharp

4de700f

@darthkurak
Copy link

I will bring this up.
Is there any chance to support --ignore-all-space?

@Divad-H
Copy link
Author

Divad-H commented Jan 19, 2023

I had also opened a PR for this when I opened the issue:
#1779

@SenorBasilico
Copy link

What needs to happen for this pull request to be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants