Skip to content

[FEATURE] Add option to Disable Background Lock File System (LFS) requests #70

Description

@Tristan-c74

1. Background

We are using an "On Premise" Git repository which does not support GIT Lock File System (LFS)

Due to Git Graph polling the server every few minutes, I get continuous pop up errors:
Image
It would be very helpful to have an option to disable the LFS polling requests to origin servers

2. Proposed Solution

Add a new setting for Git Graph+:
"Fetch LFS Locks" : Enable / Disable checkbox
When disabled, cease polling the origin server for File Lock status

3. Affected Area

Check all that apply.

  • Commit graph (Graph View)
  • Commit details panel (Bottom Panel)
  • Sidebar (Branches / Remotes / Tags / Stashes / Worktrees)
  • Toolbar (Fetch / Pull / Push / Refresh)
  • Context menu
  • Search
  • Statistics view (Stats)
  • Activity Log
  • i18n (localization)
  • Git operations (new Git command support)
  • Other

4. Alternatives or References

An alternative to the config setting, is to examine the current Git config for the open Repository, and look for the git config setting "lfs.locksverify"
When set by the the Git command such as: "git config lfs.locksverify false", the Git Repo is configured to not request LFS settings from Origin server. Git Graph+ could be made to respect that setting automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions