-
Notifications
You must be signed in to change notification settings - Fork 43
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 log
breaks echo on terminal (urxvt)
#16
Comments
Ah I've run into something like this very occasionally on iTerm2/xterm but haven't been able to repro consistently enough to find a fix. For me, it only occurs when I've been making local changes for a while and then I run It sounds like you have a consistent repro, do you mind explaining your setup in more detail? And maybe trying a more minimal repro if that's easy? That is, eliminate things like |
Tried to reproduce it with a minimal setup and I couldn't. In the process I discovered that I cannot reproduce it on a brand new repository neither on some others I got, but it still breaks on the repository that lead me to file this issue (https://github.com/fernandocanizo/my-env), even if I remove it and re-clone it. So I guess you can close this. I'll keep investigating why breaks on my repo and will post if I find the problem. |
Oh I see, thanks. If I can repro consistently that would actually be really useful, so I'll keep this open. Does it break when you show this particular diff: fernandocanizo/my-env@4434b10. Or is it just anything in that repo? |
No, I checkout on a couple of old commits and it still breaks. I have a witched repo :P |
I'm consistently seeing this issue as well on windows terminal running bash on ubuntu WSL2. I think I can make a consistent repro; I'll ping back here with the repro when I get it set up. |
Great, thanks. Please do! |
Hey, guys! Let me chime in on this issue. What I've found: I guess it has something to do with unclosed pipe from git-log to less? But I'm not sure what mechanism is used to 'pause' the pipe if log is large. Any ideas? |
I'm having the same issue in Yakuake and Konsole with bash. I can confirm that the issue occurs after I run |
Great tool! :) However it's also used to display
git log
, and when I do that on myurxvt
terminal, which also uses gbt, I get a broken terminal:ENTER
on an empty command line doesn't advance the prompt (it seems it's sending only a CR character without the LF one)Probably both things are caused by the same issue.
I have to reset my terminal after each
git log
, which makes this beautiful tool unusable.Tried removing the
-X
|--no-init
parameter forless
, but the problem persists. So I left it configured as README says:UPDATE: forgot to mention that the terminal doesn't break on
git diff
, so maybe that's a hint to solve the problem. Obviouslygit diff
does something different thangit log
.The text was updated successfully, but these errors were encountered: