-
-
Notifications
You must be signed in to change notification settings - Fork 604
gitui
crashes with too many untracked files
#1542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I initially commented at #1223, FTR |
I just realized that even with
|
can you try running with |
Yey, it helped! Although running |
How exactly does it behave when you say “choking on files”? Even with the polling arg? |
should be fixed in the next release via #1444 |
Describe the bug
This problem becomes an issue when attempting to use
gitui
together with tools likevcsh
. VCSH is a git wrapper that uses "fake" bare git repositories that set a root in a home directory. Thus, one can modularize system configuration by having multiple repositories with a root at $HOME.Trying to run
gitui
throughvcsh run <repo_name> gitui
(this sets GIT_DIR accordingly) results in a crash because it tries to render all untracked files in the home directory.To Reproduce
Steps to reproduce the behavior (without vcsh):
Note: $HOME has to be big enough to cause the crash. Otherwise, any other directory with huge amount of files pointed to by
$GIT_WORK_TREE
could be used.Expected behavior
Crash caused by immense amount of files is probably very difficult to solve. Nonetheless some kind of workaround would be nice. For example, similarly to
git status --untracked-files=no
, a new flag forgitui
could make it ignore all the untracked files. Feel free to suggest the solution though :)The text was updated successfully, but these errors were encountered: