Skip to content

Allow user to enable/disable Git feature #12770

@cardin

Description

@cardin

What feature or improvement do you think would benefit Files?

Files just received a Git feature. However, not everyone wants to have Git features enabled, as it adds clutter and impacts performance.

Files should have a toggle to disable Git features.

Requirements

  • Add a toggle to disable Git features at an application level, or at a per-folder level.
  • Not display Git related buttons, columns, status indicators when Git is disabled
  • Not attempt to parse .git folder automatically

Files Version

2.5.10.0

Windows Version

10.0.19045.3086

Comments

One major performance impact is when a Git Repository is stored as cloud-only.

When Files loads such a directory, it will start fetching all the files inside of .git/, even if they were cloud-only.

A long sync operations ensues, as hundreds of files start getting downloaded to parse the .git/ directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions