diff options
| author | Shulhan <ms@kilabit.info> | 2025-07-06 16:19:22 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-07-06 16:19:22 +0700 |
| commit | 76e44f0c738325ec7c1a64b2302a08320a8102b3 (patch) | |
| tree | 9df3b5851c20d062815329b1463bfffbe8a80fff /package_git.go | |
| parent | bae56a2010ece755e3fb664b2428d0aaf73b4a9b (diff) | |
| download | beku-76e44f0c738325ec7c1a64b2302a08320a8102b3.tar.xz | |
all: replace module github.com/shuLhan/share with pakakeh.go
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 |
