You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I know dotgit mode is still being developed. But sl command is very slow in my large mono git repo. Here is a truncated trace. It spends quite some time on a git status command.
If I run git status manually, it does spend quite some time on refreshing index, then sl command becomes fast again.
But if I did some sl change, e.g. amend/commit, sl will be slow again on git status. I'm guessing it spends some time on refreshing index again.
I'm using latest release. Let me know what else info you need.
Glad that dotgit is being worked on, thank you so much!
➜ EDENSCM_LOG=debug sl status
...
2024-08-04T04:39:02.603878Z INFO run:status: workingcopy::workingcopy: enter
2024-08-04T04:39:02.603903Z DEBUG run:status: workingcopy::filesystem::dotgit: pending_changes (DotGitFileSystem) include_ignored=false
2024-08-04T04:39:02.603920Z DEBUG run:status: gitcompat::rungit: git command: ["--git-dir=MY_REPO_PATH/.git", "--no-optional-locks", "status", "--porcelain=1", "--ignore-submodules=dirty", "--untracked-files=all", "--no-renames", "-z", "--ignored=no"]
2024-08-04T04:39:34.597473Z INFO run:status:compute_status: workingcopy::status: enter
The text was updated successfully, but these errors were encountered:
It's --no-optional-locks (added by 6b1912b). The difficult choice is:
Without --no-optional-locks, status triggered by automation might create the "lock" and other non-automation commands will error out.
With --no-optional-locks, status will eventually be slower, maybe until a checkout (I'm not an expert in this area, and not sure).
Do you use the CLI or ISL? If you use the CLI we can change --no-optional-locks to automation (ISL) only. Then CLI status would probably be okay. If you use ISL exclusively then it's tricker to fix.
Hello, I know dotgit mode is still being developed. But sl command is very slow in my large mono git repo. Here is a truncated trace. It spends quite some time on a
git status
command.If I run
git status
manually, it does spend quite some time on refreshing index, then sl command becomes fast again.But if I did some sl change, e.g. amend/commit, sl will be slow again on
git status
. I'm guessing it spends some time on refreshing index again.I'm using latest release. Let me know what else info you need.
Glad that dotgit is being worked on, thank you so much!
The text was updated successfully, but these errors were encountered: