-
Notifications
You must be signed in to change notification settings - Fork 373
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
Issue with git commands on warp terminal #4942
Comments
Hi @thanoskrg - thanks for letting us know! Are you using Warp's default prompt or a custom/PS1-driven prompt? |
Also, is this a large git repository? We run a git command (configured to avoid taking any unnecessary locks) to display the current branch in the prompt; I'm wondering if it's taking a long time to run for some reason, and so ends up interfering with you running |
As far as I know I'm using the default settings, apart from some zsh customizations. But these customizations apply also to the Terminal app which I tested and it works.
Yes, it's a huge monorepo. Not sure if it helps but for what's worth here is the output of: $ git count-objects -vH
count: 180
size: 1.54 MiB
in-pack: 237689
packs: 4
size-pack: 166.01 MiB
prune-packable: 12
garbage: 0
size-garbage: 0 bytes @vorporeal your assumption for the git command that takes long time to complete might be the case. Because sometimes it works, but most of them it doesn't. |
Might be worth trying to enable the See this writeup about it on the GitHub blog: https://github.blog/2022-06-29-improve-git-monorepo-performance-with-a-file-system-monitor/ You may also want to try the |
I've been experiencing this issue too! I originally assumed it was a bug with https://github.com/ejoffe/spr but this doesn't happen on iTerm |
@vorporeal unfortunately neither of the above fixed the issue. I'd like to highlight here that other terminals work fine with the same commands that Warp fails to complete. |
@zheng Are you using Warp prompt or your custom PS1? If the former, does this still repro if you change from Warp prompt to "Honor PS1"? |
Folks, is there any update on this? Is it something that you can look and try to fix on your side? |
There's a known issue with github codespaces, so my issue isn't specific to warp |
Dupe Check
Describe the bug
It's been a while now (~ 1 week) that I am getting failures during
git -i rebase
commands on warp terminal.It used to be a flaky behaviour, that after re-trying two or three times it would eventually work.
Since today though, this command constantly fails via warp, while it works via VS code git plugins or even through the pre-installed MacOS Terminal app.
More specifically I'm getting the following error:
To reproduce
Steps to reproduce:
git rebase -i origin/main
Expected behavior
No response
Screenshots
No response
Operating system
MacOS
Operating system and version
Sonoma 14.4.1
Shell Version
zsh 5.9 (x86_64-apple-darwin23.0)
Current Warp version
v0.2024.05.14.08.01.stable_04
Regression
Yes, this bug started recently or with an X Warp version
Recent working Warp date
Less than a month ago
Additional context
No response
Does this block you from using Warp daily?
Yes, this issue prevents me from using Warp daily.
Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)
Yes, this I confirmed this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
The text was updated successfully, but these errors were encountered: