-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
git prompt broken with some (multiline?) git config #1766
Comments
If that helps, when I manually send a command to
|
This is probably an issue with libgit2. Can you check whether |
EDIT: Also works with |
I'm using the Arch Linux package, which is using your |
Thanks for the details. So either there was a bug in libgit2 and it's got fixed (in which case I'll need to upgrade libgit2 dependency of gitstatusd) or I introduced a bug in my fork of libgit2 (in which case I would need to fix it). I'm afraid I don't currently have time to do either for these. Maybe at some point in the future. |
No worries I understand the lack of time. The issue was not introduced by your fork, and with git bisect I found it was fixed upstream by this commit: 574c590f3095535e55e8f99b7f571ede28c8c211. So just updating libgit2 should be enough to fix it. |
Thanks for doing all the work here. I've cherry-picked the commit you've identified and released a new version of gitstatusd. Please update powerlevel10k and let me know whether the issue is resolved. |
It's fixed, thanks. |
Thanks for verifying. |
When I add this in my git config (this is to configure the delta pager output, see chtenb/delta@603b807 for context):
The git prompt does not show anymore. If I run
killall gitstatusd
it shows again, but will not on the next terminal.If I has to guess I'd say
gitstatusd
fails to parse the multiline configuration entry.Of course the git configuration is perfectly valid and git works as expected.
Thanks
The text was updated successfully, but these errors were encountered: