Skip to content

Move git.log.LogReverseEach to gitserver.Client

Administrator requested to merge mv/gitserver/refactor/log-reverse-each into main

Created by: vrto

Description

This change is a part of a larger effort to reorganize code in gitserver. The Repository Management Team is moving git commands from internal/vcs/git to internal/gitserver.

See this issue for more details https://github.com/sourcegraph/sourcegraph/issues/33280

Closes https://github.com/sourcegraph/sourcegraph/issues/33775

Test plan

Code only moved around, all tests still pass.

Notes and questions

  • @ryanslade @mollylogue do you think the leftovers from log.go can be moved to gitdomain?
  • @mollylogue the log-parsing logic seems (that's being moved from git/log.go) fairly recent, but I couldn't find dedicated tests. Have I touched something still under active development, or what's the context here?

Merge request reports

Loading