Git Product home page Git Product logo

Comments (10)

wbthomason avatar wbthomason commented on May 18, 2024

How long did you wait? Clones should time out after the value of config.git.clone_timeout (...which I now realize I never added to the docs, whoops), which defaults to 60s (based on the timeout value used in plug.vim). The freeze is bizarre, though - the entire editor froze up?

from packer.nvim.

wbthomason avatar wbthomason commented on May 18, 2024

I also cannot reproduce this on my machines....exactly what you describe expecting happens for me....

from packer.nvim.

bfredl avatar bfredl commented on May 18, 2024

ok, I will try again today..

from packer.nvim.

bfredl avatar bfredl commented on May 18, 2024

yes it hangs on username for https://github.com/xx/yy message (the entire neovim UI)

from packer.nvim.

bfredl avatar bfredl commented on May 18, 2024

it unhangs after 60s yes, but neovim should not freeze during this minute.

from packer.nvim.

wbthomason avatar wbthomason commented on May 18, 2024

Agreed; I'll look into why it's freezing. Could you post your .gitconfig, since I can't seem to replicate the behavior on my system?

from packer.nvim.

wbthomason avatar wbthomason commented on May 18, 2024

Hmm. I'm shooting in the dark with this theory as I still cannot reproduce the bug, but I wonder if this would be caused by not passing a stdin fd to the luv.spawn call used to start git? Since you mention that it hangs on a prompt for username...

from packer.nvim.

bfredl avatar bfredl commented on May 18, 2024

@wbthomason I would guess you have to override the stdin explicitly. We should make our vim.loop documentation clearer about this.

from packer.nvim.

wbthomason avatar wbthomason commented on May 18, 2024

I pushed a commit just now adding this. It doesn't break anything on my end, but I have still never been able to repro the issue here (or in #40 or #26, which I think are duplicates of this), so I'm not sure if it fixes the issue.

from packer.nvim.

wbthomason avatar wbthomason commented on May 18, 2024

Fixed by #91

from packer.nvim.

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.