Skip to content

Linux: automatic status checks of unopened repositories saturate HDD on startup #2891

Open

Description

@ZeeWanderer

I have a lot of repositories tracked in SourceGit, to be exact 140. All of them are on what I call my Dev HDD. I tried SSD once but a good day when I finish work and then switch to personal projects has me producing hundreds of GiB of data written.

And it appears that when I simply start up SourceGit it starts to check status on all of the tracked repositories, which saturates IO. Usually I don't notice up until I have to compile something and it doesn't accomplish that immediately, or something like sccache timeouts. The UI itself works fine, this is about everything else that needs the same drive.

As far as I have checked the main IO source is running git status --porcelain=v2 -b -uall --ignore-submodules=dirty on every single tracked repo.

Could this be made optional for repositories that aren't open? Keeping the last known status, marked as potentially outdated, until I actually open the repo or refresh it manually would work.

Also, does the repository list really need -uall? Using -unormal could reduce the work by not enumerating every file inside untracked directories. That would mean giving up the exact file count there, perhaps showing just whether there are changes and leaving the full enumeration for when the repo is actually opened. It would still check tracked files, so this wouldn't replace having an option to skip the checks altogether.

Activity

  1. JC-Chung commented on Nov 18, 2026

    @JC-Chung
    Contributor

    Done. You can download and test the latest CI build from GitHub Actions.

    The status check can now be toggled in Preferences or from the Welcome page toolbar, and individual repositories or groups can be refreshed via the context menu.

  2. added
    enhancement
    on Nov 18, 2026
  3. self-assigned this
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions