diff-so-fancy
diff-so-fancy copied to clipboard
Started getting a stacktrace/core dump using diff-so-fancy in powershell
All of sudden i started getting a stack trace/dump from diff-so-fancy. I'm using it from powershell on windows
This was run from bash (but diff-so-fancy is still working in bash) This is what was in the clipboard from /report-bug.sh | git diff HEAD..HEAD^ diff.txt
CgoKCiAtLWNvbG9yCmdpdCBjb25maWcgcGFnZXIuZGlmZgpnaXQgY29uZmlnIHBhZ2VyLnNob3cK
and this is diff.txt
--color git config pager.diff git config pager.show
It really shouldn't be possible for d-s-f to crash/stack trace as it's just a Perl script. At worst it should throw a Perl exception and dye cleanly.
I suspect you have an underlying issue either with your Perl installation, or your Powershell installation. Do other shell things work OK?
yes, i think it has something to do with "less"
See above... Perl doesn't have the ability to stack trace unless your Perl installation itself gets corrupted. I suspect another tool in the chain, perhaps less
is causing the issue. Does it go away if you remove less
from the command?