Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with git version 2.37.0 #1114

Closed
boris-petrov opened this issue Jun 28, 2022 · 6 comments
Closed

Doesn't work with git version 2.37.0 #1114

boris-petrov opened this issue Jun 28, 2022 · 6 comments

Comments

@boris-petrov
Copy link

Using delta 0.13.0. I have this in my .gitconfig file:

[interactive]
	diffFilter = delta --color-only

Which worked great when using git add -p. Since version 2.37.0 of git, it blows up:

error: could not parse colored hunk header

And then some random stuff.

@OJFord
Copy link

OJFord commented Jun 28, 2022

Workaround:

[add.interactive]
    useBuiltin = false

(Credit to @malsyned in issue linked above)

@phil-blain
Copy link
Contributor

I would say it is a Git regression, and should be reported to the Git mailing list: http://git-scm.com/community.

daGrevis added a commit to daGrevis/Dotfiles that referenced this issue Aug 9, 2022
@phil-blain
Copy link
Contributor

I would say it is a Git regression, and should be reported to the Git mailing list: http://git-scm.com/community.

Reported here: https://lore.kernel.org/git/[email protected]/T/#u

teekennedy added a commit to teekennedy/dotfiles that referenced this issue Sep 14, 2022
@phil-blain
Copy link
Contributor

Fixed in Git 2.38, out today: https://github.com/git/git/blob/3dcec76d9df911ed8321007b1d197c1a206dc164/Documentation/RelNotes/2.38.0.txt#L353-L356

@boris-petrov
Copy link
Author

Indeed it is! Thanks!

@WhyNotHugo
Copy link

WhyNotHugo commented Oct 5, 2022 via email

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

No branches or pull requests

4 participants