Skip to content

Feature: Use installed git.exe instead of libgit2Β #16738

@heftymouse

Description

@heftymouse

What feature or improvement do you think would benefit Files?

Having this as an option would allow Files to easily support the full range of Git features, including automatically respecting the user's Git settings, using any authentication methods they have already configured, and pushing to ssh remotes. This is a fairly common way of implementing Git support, seen in software like vscode. Files can fall back to libgit2 for basic support if Git is not already installed (unlikely on a developer's machine)

Requirements

  • Introduce an IGitService abstraction and refactor the existing GitHelpers implementation to use it
  • Implement existing Git operations through git.exe and use this implementation if git.exe is found
  • Add configuration options

Files Version

3.8.13

Windows Version

10.0.27774.1000

Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area - gitFeatures or bug reports relating to git

    Projects

    Status

    πŸ“‹ Planning stage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions