slapperwan / gh4a

Github client for Android
Apache License 2.0
1.72k stars 221 forks source link

FeatureRequest: ignore whitespace diff #337

Open TheCycoONE opened 8 years ago

TheCycoONE commented 8 years ago

The Github desktop site has the option to ignore whitespace when viewing a different by adding &ws=1 to the url. The git client also has this option which is very valuable for reading commits where code was refactored and the new indentation doesn't match.

It would be nice to have this in the octodroid client as well.

maniac103 commented 8 years ago

That capability doesn't seem to exist in Github's API - see [1] and [2].

[1] https://developer.github.com/v3/repos/commits/#get-a-single-commit [2] https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests

TheCycoONE commented 8 years ago

I tried an api request with ?w=1 in case it was just undocumented and it did not change the diff.

Sad, thanks for looking.