Skip to content

Sourcegit UI no longer refreshes after git operations #2811

Open

Description

@rvaidya

This seems to be happening after the most recent update.
If I do anything in sourcegit (commit, push, pull, etc.) the UI doesn't update after the operation at all
I have to close/reopen that repo to see the changes.

I am on Arch linux / cachyos

Activity

  1. self-assigned this
    on Oct 26, 2026
  2. love-linger commented on Oct 26, 2026

    @love-linger
    Collaborator

    It may be related to a known issue with C# file-system watcher (which is linux-only).

    And you can use F5 to refresh the repository or re-open it in SourceGit instead of re-starting this app.

  3. love-linger commented on Oct 26, 2026

    @love-linger
    Collaborator

    You can also try ulimit -n <SOME_LARGE_NUMBER> && sourcegit to start SourceGit

  4. rvaidya commented on Oct 29, 2026

    @rvaidya
    Author

    @love-linger
    Is sourcegit watching paths that are gitignored?
    I have gitignored folders in multiple repos that have millions of files in them. I can hear disk activity on the HDD that has those files going haywire when i start sourcegit

  5. love-linger commented on Nov 2, 2026

    @love-linger
    Collaborator

    SourceGit does not read the files on disk directly for watching file-system changes. It uses inotify (a feature provided by kernel) on Linux.

    I can hear disk activity on the HDD that has those files going haywire when i start sourcegit

    It may because when you open a repository in SourceGit, the following commands starts to get information needed by SourceGit immediately:

    • git config
    • git branch -l --all -v --format="%(refname)%00%(committerdate:unix)%00%(objectname)%00%(HEAD)%00%(upstream)%00%(upstream:trackshort)%00%(worktreepath)"
    • git tag -l --format="%(refname)%00%(objecttype)%00%(objectname)%00%(*objectname)%00%(taggername)±%(taggeremail:trim)%00%(creatordate:unix)%00%(contents:subject)%0a%0a%(contents:body)"
    • git submodule status
    • git worktree list --porcelain
    • git log --no-show-signature --decorate=full --format=%H%x00%P%x00%D%x00%aN±%aE%x00%at%x00%cN±%cE%x00%ct%x00%s <some_other_args>
    • git -c core.untrackedCache=true -c status.showUntrackedFiles=all status -uall --ignore-submodules=dirty --porcelain
  6. Walden362 commented on Nov 5, 2026

    @Walden362

    I have the same problem on Windows. Refreshing doesn't change anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

os-linuxThis issue only exists on Linux

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions