Currently, following modules use GitRekt.Git internally:
GitGud.SSHServer
GitGud.SmartHTTPBackend
GitGud.GraphQL.Resolvers
GitGud.Web.RepositoryController
Instead of having each module implementing its own Git logic, we should have an unified way of performing Git related commands...
Basically, a bunch of helper modules such as GitReference, GitCommit, GitTag, GitTree, etc. GitGud.Repo should provide functions such as git_head/1, git_references/2, git_tags/2, etc.
Currently, following modules use
GitRekt.Git
internally:GitGud.SSHServer
GitGud.SmartHTTPBackend
GitGud.GraphQL.Resolvers
GitGud.Web.RepositoryController
Instead of having each module implementing its own Git logic, we should have an unified way of performing Git related commands...
Basically, a bunch of helper modules such as
GitReference
,GitCommit
,GitTag
,GitTree
, etc.GitGud.Repo
should provide functions such asgit_head/1
,git_references/2
,git_tags/2
, etc.