delta icon indicating copy to clipboard operation
delta copied to clipboard

🐛 Blame parser fails when blame.markIgnoredLines = true

Open sybereal opened this issue 2 years ago • 0 comments

delta's blame parser seems unable to handle the output format that is produced when the config option blame.markIgnoredLines is set to true. Although I wasn't able to reproduce it, I assume the same goes for blame.markUnblamableLines.

I made a reproduction repo at sybereal/delta-blame-repro. In this repo, I set git config blame.ignoreRevsFile .git-blame-ignore-revs.

With blame.markIgnoredLines = false: image Raw:

^ff4fd92 (Simon Engmann 2022-08-23 08:24:42 +0200 1) struct Foo(u32);

With blame.markIgnoredLines = true: image Raw:

^?ff4fd9 (Simon Engmann 2022-08-23 08:24:42 +0200 1) struct Foo(u32);
  • [x] Please include the raw text output from git, so that we can reproduce the problem. (You can use git --no-pager to produce the raw text output.)
  • [x] A screenshot of Delta's output is often helpful also.

Thanks for filing a Delta bug report!

sybereal avatar Aug 23 '22 06:08 sybereal