-
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
Missing carriage returns? (lines start at the column that previous ended on) #2739
Comments
I also experience this bug when amending a commit or running an interactive rebase. I use the default vi text editor.
|
This bug seems to be triggered by the vi text editor or by the way it was ran by git. It happen when returned from vi that was started by git. Running the vi/vim editor manually doesn't trigger this bug, though. |
Yeah, I agree that it seems to be (inconsistently) triggered by |
Updated this to indicate it is still a problem in 2.28. |
... but it only happens when Pseudo Console support is enabled, correct? |
@dscho I haven’t tested that; I believe I did in 2.27, but that was probably invalid due to the 2.27 bug that prevented disabling the pseudo-console support once it had been enabled, so those weren’t valid tests. I may try disabling it and doing some testing later today. |
FWIW you can easily toggle the Pseudo Console support yourself, in the file |
Sadly, a local test with an early local version of the MSYS2 runtime v3.1.7 shows that this issue has not been fixed in Cygwin yet. |
Closing as stale. |
Setup
Seen this across a few versions now:
I am pretty sure I saw this problem on the release version of 2.27.0 as well.
defaults?
to the issue you're seeing?
I have some customizations in
~/.bashrc
which are probably irrelevant, though one comes up in the example:This modifies my command prompt to include the current folder and git branch in the prompt, which is visible in the examples below.
Details
Git Bash
Minimal, Complete, and Verifiable example
this will help us understand the issue.
In this case, I was running
git commit -a
andgit checkout - && git pull
, but I have seen it sporadically with a number of commands (can’t recall offhand seeing it with non-git commands, but I’d be surprised if it had anything to do with git per se).This seems to occur specifically when
git commit
triggersvim
. Callingvim
on its own does not trigger this behavior.URL to that repository to help us with testing?
Doesn’t seem related to any repository, or even to git itself.
The text was updated successfully, but these errors were encountered: