Giter Site home page Giter Site logo

Comments (7)

vorporeal avatar vorporeal commented on June 23, 2024

Hi @thanoskrg - thanks for letting us know! Are you using Warp's default prompt or a custom/PS1-driven prompt?

from warp.

vorporeal avatar vorporeal commented on June 23, 2024

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 git commands.

from warp.

thanoskrg avatar thanoskrg commented on June 23, 2024

Are you using Warp's default prompt or a custom/PS1-driven prompt?

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.

is this a large git repository?

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.

from warp.

vorporeal avatar vorporeal commented on June 23, 2024

Might be worth trying to enable the core.fsmonitor option for git - it vastly improves git performance on large repositories.

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 feature.manyFiles config flag: https://git-scm.com/docs/git-config#Documentation/git-config.txt-featuremanyFiles

from warp.

zheng avatar zheng commented on June 23, 2024

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

from warp.

thanoskrg avatar thanoskrg commented on June 23, 2024

@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.

from warp.

alokedesai avatar alokedesai commented on June 23, 2024

@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"?

from warp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.