Repository navigation
[do not merge] re-indent within a large re-indented block shows hard to read diff - #37
Closed
timotheecour wants to merge 1 commit into
Closed
timotheecour wants to merge 1 commit into
timotheecour wants to merge 1 commit into
Conversation
Owner
Author
Owner
Author
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


this isn't an issue with nim; it's a general issue with github diff and git diff: the actual diff contains a single large re-indented block; and a single re-indented line within that large block:
## * getTempDir proc <#getTempDir>_none of the tools I know of helps viewing the diff in this case:
git diff --color-moved-ws=allow-indentation-change --color-moved=blocks HEAD^this suffers from problem 1 and problem 2: the diff is complex and shows multiple blocks
git diff --color-moved-ws=allow-indentation-change --color-moved HEAD^does not suffer from problem 1 but suffers from problem 2: the diff is complex and shows multiple blocks; see comment belowD20200223T154500