Skip to content

Commit

Permalink
Change to fork of libgit2 with version guard check.
Browse files Browse the repository at this point in the history
Ensure Go Modules are disabled during build.
  • Loading branch information
JoshStrobl committed Sep 10, 2019
1 parent 7d4136b commit ba5a9da
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
[submodule "src/vendor/github.com/BurntSushi/toml"]
path = src/vendor/github.com/BurntSushi/toml
url = https://github.com/BurntSushi/toml.git
[submodule "src/vendor/github.com/libgit2/git2go"]
path = src/vendor/github.com/libgit2/git2go
url = https://github.com/libgit2/git2go.git
[submodule "src/vendor/github.com/JoshStrobl/git2go"]
path = src/vendor/github.com/JoshStrobl/git2go
url = https://github.com/JoshStrobl/git2go.git
[submodule "src/vendor/github.com/cheggaaa/pb"]
path = src/vendor/github.com/cheggaaa/pb
url = https://github.com/cheggaaa/pb.git
Expand Down
2 changes: 1 addition & 1 deletion Makefile.gobuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CUR_DIR = $(shell pwd)

# "Normal" static binary
%.statbin:
GOPATH=$(CUR_DIR) go install -v $(subst .statbin,,$@)
GO111MODULE=off GOPATH=$(CUR_DIR) go install -v $(subst .statbin,,$@)

clean:
test ! -d $(CUR_DIR)/pkg || rm -rvf $(CUR_DIR)/pkg; \
Expand Down
2 changes: 1 addition & 1 deletion src/builder/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"encoding/xml"
"errors"
"fmt"
"github.com/libgit2/git2go"
"github.com/JoshStrobl/git2go"
"os"
"path/filepath"
"regexp"
Expand Down
2 changes: 1 addition & 1 deletion src/builder/source/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"errors"
"fmt"
log "github.com/Sirupsen/logrus"
"github.com/libgit2/git2go"
"github.com/JoshStrobl/git2go"
"github.com/solus-project/libosdev/commands"
"net/url"
"os"
Expand Down
1 change: 1 addition & 0 deletions src/vendor/github.com/JoshStrobl/git2go
Submodule git2go added at 86c102
1 change: 0 additions & 1 deletion src/vendor/github.com/libgit2/git2go
Submodule git2go deleted from eb0bf2

0 comments on commit ba5a9da

Please sign in to comment.