mirror of
https://github.com/Jguer/yay.git
synced 2025-12-27 10:01:53 -05:00
Include info in the lock
This commit is contained in:
2
vcs.go
2
vcs.go
@@ -130,13 +130,13 @@ func updateVCSData(pkgName string, sources []gosrc.ArchString, mux *sync.Mutex,
|
||||
return
|
||||
}
|
||||
|
||||
mux.Lock()
|
||||
info[url] = shaInfo{
|
||||
protocols,
|
||||
branch,
|
||||
commit,
|
||||
}
|
||||
|
||||
mux.Lock()
|
||||
savedInfo[pkgName] = info
|
||||
fmt.Println(bold(yellow(arrow)) + " Found git repo: " + cyan(url))
|
||||
saveVCSInfo()
|
||||
|
||||
Reference in New Issue
Block a user