jesseduffield / jesseduffield/lazygit
enhancements for repos using hooks
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**Is your feature request related to a problem? Please describe.**
We use hooks on our repos, most especially at push-time, but because we're using `pre-git` (it makes life easier), even a commit without pre-commit logic can take a second or two, during which time I'm not sure if I've hit `enter` or not on the commit dialog
**Describe the solution you'd like**
short-term: the same kind of feedback that's on the Push dialog would be nice on the commit dialog (ie label and spinner)
longer-term: our push hooks can take a while. One runs the full test suite (takes around 80s) and many run a `verify-up-to-date` task which won't let you push a satellite branch if you're behind master. Both produce output, which lazygit will display if they fail (I've seen the `verify-up-to-date` output on occasion), but I'd really like a live output of commands as they are running, configured, of course, to user prefs (so the feedback dialog should be default and the details could be shown if, eg, `gui.showDetailedOperations` were set). Details should be shown _live_ though -- there's not much point in seeing the output from a long operation way after it already successfully completed, but seeing it _during_ operation provides feedback to the user
**Describe alternatives you've considered**
I wait after I _think_ I've hit enter on commit. Usually I have, but it's been a good test of holding my breath.
The last time I pushed on the project which runs tests, I exited lazygit so I could watch the tests roll by.
Contributor guide
Assessment
This issue has not been assessed yet.