Skip to content

[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
develfrom
pr_scratch5
Closed

timotheecour wants to merge 1 commit into
develfrom
pr_scratch5

Conversation

@timotheecour

@timotheecour timotheecour commented Feb 24, 2020 •

Copy link
Copy Markdown
Owner

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:

D20200223T154500

@timotheecour

Copy link
Copy Markdown
Owner Author

git diff --color-moved-ws=allow-indentation-change --color-moved HEAD^ output:

image

@timotheecour

Copy link
Copy Markdown
Owner Author

same but without using pager = "diff-so-fancy | less -R" in my .gitconfig: it shows the same problem

image

@timotheecour timotheecour changed the title PRTEMP: D20200223T154500 re-indent within a large re-indented block re-indent within a large re-indented block Feb 24, 2020
@timotheecour timotheecour changed the title re-indent within a large re-indented block [do not merge] re-indent within a large re-indented block shows hard to read diff Feb 24, 2020
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

Successfully merging this pull request may close these issues.

1 participant