Skip to content

.git mode constantly refreshing index #1186

@hegrec

Description

@hegrec

Hey folks,

I'm using Sapling in a large monorepo in .git mode and I find that after common day to day workflows like editing files, amending commits, rebasing, I constantly hit issues with the git index needing to be reconstructed. The usual symptom here as I experience it is that ISL hangs for a long time. I then usually just run "git status" in the terminal where I see clearly the refreshing like Refresh index: 69% (123005/178268).

Is there anyway to make SL operations somehow interact with git in a way that does not destroy the index and/or generally keep things fast?

If I was using SL in "SL mode" rather than ".git" mode would this issue disappear? I've generally avoided "SL mode" because it's not clear to me if this mode works seamlessly with a typical git workflows like pushing commits to github, collaborating with colleagues who use git in a traditional way, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions