Skip to content
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

crash/stuck if you need to enter username/password for a repo #99

Open
altsem opened this issue Mar 28, 2024 · 3 comments
Open

crash/stuck if you need to enter username/password for a repo #99

altsem opened this issue Mar 28, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@altsem
Copy link
Owner

altsem commented Mar 28, 2024

Found that a user had commented this, need to verify / fix it.

@altsem altsem added the bug Something isn't working label Mar 28, 2024
@golden-expiriensu
Copy link
Contributor

This is how it looks like on 0.14.0. No crashes but very strange behavior: the prompt for password is not disappearing but the control works once every other time, you press jjjj but you move only 2 lines down.
Screenshot 2567-04-08 at 21 06 02
Screenshot 2567-04-08 at 21 07 19
Screenshot 2567-04-08 at 21 08 34

@golden-expiriensu
Copy link
Contributor

So yeah, it feels like being stuck. What flow is expected in the case where password is needed?

@altsem
Copy link
Owner Author

altsem commented Apr 9, 2024

Maybe there's a way to probe to see if a password is required?
Or a way to disable the CLI prompt, handle the error and prompt/provide a username & password with gitu's prompt.

Other ways are perhaps looking at integrating with Gitoxide or git2.

I tried implementing the entire push flow with git2 before, but it seemed messy.

I'm open for ideas!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants