Replies: 2 comments
-
|
@stefanhaller any thoughts? Happy to provide more information on the problem if my proposal isn't sufficiently clear |
Beta Was this translation helpful? Give feedback.
-
|
Lazygit shows the output of hooks in the Log panel. At least for pre-commit and pre-push; those are the ones I am using myself. If there are other hooks for which the output doesn't appear in the Log panel, that would be a bug and should be fixed. There are several problems with using the Log panel for hook output:
So for my feeling there's nothing to do here, but I'm happy to discuss it more.
I don't understand this point; what does the way you manage your hooks have to do with where the output goes? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I sometimes run slow Git hooks (especially pre-push, occasionally pre-commit).

Right now in Lazygit I only see a spinner/status while the operation runs:
When hooks take a while, I often switch to the terminal and run Git directly just to see what stage the hook is in (linting, typecheck, tests, etc.):

Would maintainers be open to a contribution that shows hook output live during commit/push (opt-in), so users can monitor progress without leaving Lazygit?
My intent would be:
If this sounds aligned with Lazygit’s direction, I’d be happy to open a PR.
Beta Was this translation helpful? Give feedback.
All reactions