-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
After exiting commit editor whole console get cleared #5303
Comments
Isn't this more an issue for https://github.com/mintty/mintty? Also, you assume quite a bit of context without trying to help any reader along should they lack that context. What are you trying to accomplish with the |
I do not think is problem with mintty as same happens under tmux and problem appear only after updating git version. As for my example, template ask for minimal example, and I simply could have broken vim config that could interfere with git. As far I understand |
I cannot promise anything, but there is an off-chance that git-for-windows/msys2-runtime#87 might fix your problem. To test, download the install artifact from https://github.com/git-for-windows/msys2-runtime/actions/runs/13628995018?pr=87#artifacts, extract its |
After replacing msys dll it still behave same, but looking on description of that error it could be related. |
I am facing the same issue even under different circumstances -- after using a pager, e.g., via In my ~/.profile, I have By the way, while trying to quickly get some scrollback content, I came across a separate issue and reported it as #5468. The details of my setup are mentioned there. I also reproduced both issues on the latest snapshot (built from 1424e27), specifically its portable version. |
I tried playing with the options in the LESS environment variable and with core.pager only to realize that when I execute |
I made experiment, and run git from cmd, and its look like it work here correctly. git commit --amend | cat aside of butchering vim, it fix console clearing. [ps] another interesting thing is that when using tmux |
Setup
Older version
git version 2.24.1.windows.2
do not had this problems.defaults?
to the issue you're seeing?
Added
tmux
with libs fromlibevent
from msys2Details
Bash with mintty
Minimal, Complete, and Verifiable example
this will help us understand the issue.
When using
vim
whole console get cleared, I boils down this problem to:I can see content in console like (all console history before commit):
Lot of empty space and final commit result message:
URL to that repository to help us with testing?
No, clean repository is enough.
Overall
vim
have too some problems with gathering info about terminal and mess up my colorswhen run through
git
.The text was updated successfully, but these errors were encountered: