Skip to content
Snippets Groups Projects

Add flag to decide which (local|remote) git command to use

Merged Administrator requested to merge ao/gitserver-flag-for-local-git into main

Created by: sashaostrikov

There are 2 commits:

  1. A little refactoring which moves GitCommand interface and both implementations to a separate file. Intention is that client.go had almost 1800 lines and moving some code can benefit reading. Also I believe that this will separate two different things: client creates a command, but don't really owns it.
  2. Introducing of the flag itself

This PR goes on top of the https://github.com/sourcegraph/sourcegraph/pull/34341 and will be merged after the first one is merged Thanks Ryan :)

Test plan

Existing tests pass

Merge request reports

Merged by avatar (Jul 7, 2025 12:40am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading