Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Use go-git for cmd/l #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ianlewis
Copy link

@ianlewis ianlewis commented Nov 5, 2023

Ports the l command to use go-git rather than git4go as go-git is
better supported and supports Go modules.

Also moves the submodule for GitHub's linguist to a third_party
subdirectory and adds an empty go.mod to it. This prevents
go.mod run on this project from reading into third party submodules
when searching for Go dependencies.

Fixes #14

Ports the `l` command to use go-git rather than git4go as go-git is
better supported and supports Go modules.

Fixes dayvonjersen#14

Signed-off-by: Ian Lewis <[email protected]>
Moves the submodule for GitHub's `linguist` to a `third_party`
subdirectory and adds an empty `go.mod` to it. This prevents
`go.mod` run on this project from reading into third party submodules
when searching for Go dependencies.

Signed-off-by: Ian Lewis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

go mod tidy: "./testutil" is relative, but relative import paths are not supported in module mode
1 participant