Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/omb-prompt-base: Set a timeout on the git command
The calculate of git_summary_status can be extremely expensive for large repos. This results in the shell becoming unresponsive. We now set a timeout of 0.2 seconds to make sure we always have a responsive shell. * lib/omb-prompt-base: Set a timeout on git commands * lib/omb-prompt-base: Fix timeout bug * lib/omb-prompt-base: Rename function "{run_with => _omb_prompt}_timeout" * lib/omb-prompt-base(_omb_prompt_timeout): Fix coding style * lib/omb-prompt-base(_omb_prompt_timeout): Check timeout commands on startup Fixes #172 Co-authored-by: Koichi Murase <[email protected]>
- Loading branch information