guitui crashs when switching to Log tab "Too many open files; class=Os (2)"
- Dominant language
- Rust
- Stars
- 22.5k
- Forks
- 773
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
gitui crashes when switching to the Log tab.
**To Reproduce**
Steps to reproduce the behavior:
1. Open gitui
2. Press 2 to switch to the Log tab when the Status tab still loading
3. Crashs with
```sh
Error: git error:failed to resolve path '.': Too many open files; class=Os (2)
Caused by:
failed to resolve path '.': Too many open files; class=Os (2)
```
**Expected behavior**
Expect to see the logs without any crashes.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Context (please complete the following information):**
- OS/Distro + Version: `macOS 15.1.1 (24B91)`
- GitUI Version:`0.26.3`
- Rust version: `1.82`
**Additional context**
The repo is huge.
The count of logs is: 26900.
When switching to Logs after the Status stopped loading there is no crashs.
Contributor guide
Assessment
This issue has not been assessed yet.