diff options
| author | Jeff Carr <[email protected]> | 2025-01-13 04:14:06 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-13 04:14:06 -0600 |
| commit | ce6311893c359f43df14602f58bf241a76ff163c (patch) | |
| tree | 11822c0fdcd19de2bdc0bad887442d512ba1d242 /doCheckout.go | |
| parent | 96c9588c6b0f3cab63109de54111a4cbd9b8effb (diff) | |
standard names finally thanks to autogenpb
Diffstat (limited to 'doCheckout.go')
| -rw-r--r-- | doCheckout.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doCheckout.go b/doCheckout.go index 1ea4b67..e7f5430 100644 --- a/doCheckout.go +++ b/doCheckout.go @@ -43,7 +43,9 @@ func doCheckDirtyAndConfigSave() { dirty := repo.IsDirty() if repo.CheckDirty() { count += 1 - me.found.AppendUniqueGoPath(repo) + if me.found.AppendByGoPath(repo) { + log.Info("doCheckDirtyAndConfigSave() repo already existed", repo.GetGoPath()) + } if !dirty { configSave = true } @@ -64,7 +66,8 @@ func IsEverythingOnDevel() bool { repo := all.Next() if repo.GetCurrentBranchName() != repo.GetDevelBranchName() { // log.Info(repo.GetFullPath(), repo.GetCurrentBranchName(), repo.GetDevelBranchName()) - me.found.AppendUniqueGoPath(repo) + // add this to the list of "found" repos + me.found.AppendByGoPath(repo) } } if len(me.found.Repos) == 0 { @@ -79,7 +82,7 @@ func IsEverythingOnUser() bool { for all.Scan() { repo := all.Next() if repo.GetCurrentBranchName() != repo.GetUserBranchName() { - me.found.AppendUniqueGoPath(repo) + me.found.AppendByGoPath(repo) } } if len(me.found.Repos) == 0 { |
