diff options
Diffstat (limited to 'package_git.go')
| -rw-r--r-- | package_git.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/package_git.go b/package_git.go index 200c04f..ec69fe2 100644 --- a/package_git.go +++ b/package_git.go @@ -8,8 +8,7 @@ import ( "fmt" "strings" - "github.com/shuLhan/share/lib/debug" - "github.com/shuLhan/share/lib/git" + "git.sr.ht/~shulhan/pakakeh.go/lib/git" ) // gitFreeze set the package remote name and URL, branch, and revision. @@ -130,7 +129,7 @@ func (pkg *Package) gitGetBranch() (err error) { } else if len(branches) > 0 { pkg.RemoteBranch = branches[len(branches)-1] } - if debug.Value >= 1 { + if Debug >= 1 { fmt.Printf("= gitGetBranch: %s\n", pkg.RemoteBranch) } return nil |
