jesseduffield / lazygit

simple terminal UI for git commands
MIT License
53.53k stars 1.86k forks source link

commit moves to cli with prompt to return to lazygit instead of lazygit tui #4027

Open WorldTeacher opened 3 weeks ago

WorldTeacher commented 3 weeks ago

I noticed that when i commit a file using lazygit, that after adding the commit message I get redirected to this: image instead of the usual lazygit ui. Is this intended or was this changed and I just did not notice?

To Reproduce open repo select file(s) to commit with spacebar add commit message using c press enter

see the redirect to the terminal

Expected behavior I get redirected to the normal tui

Screenshots see screenshot above

Version info: commit=095eb130e, build date=20241102.214908, build source=unknown, version=v0.44.1.095eb130e, os=linux, arch=amd64, git version=2.47.0 (same issue appears in current aur package)

waelmahrous commented 2 weeks ago

Hmm I can't seem to reproduce this issue. Goes back to the Lazygit UI for me.

WorldTeacher commented 2 weeks ago

Is there anything I could to to somehow log my actions / lazygit's responses?

waelmahrous commented 2 weeks ago

Yes, this is copied from the readme:

Run lazygit --debug in one terminal tab and lazygit --logs in another to view the program and its log output side by side

Maybe check those logs for any pointers, or upload a copy of them here so you can get more accurate assistance. Hope this helps :)

WorldTeacher commented 2 weeks ago

sorry for not replying sooner, got sick and could not really focus on stuff.

lazygit --debug exits as soon as I confirm the command

This is a log that shows what happens: lg_logs.log

waelmahrous commented 2 weeks ago

Ah yeah that's another issue seen in #4002. Try downgrading to Go 1.22 and retrying the debug logs.