diff options
| author | Jeff Carr <[email protected]> | 2025-10-05 13:11:00 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-05 13:11:00 -0500 |
| commit | 4ff004a792d058fad3b8cb9a9d5c83f7d1144243 (patch) | |
| tree | da910bff164fd033a4039c004a732d0286c7765b /rill.go | |
| parent | 6f43c6b2f8e8ef4b19efa43f35f8be8ed7f77fd0 (diff) | |
lots of old code pre-tags in PB correctly.
Diffstat (limited to 'rill.go')
| -rw-r--r-- | rill.go | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -17,16 +17,6 @@ var ErrorGitPullOnLocal error = errors.New("git pull on local only branch") var ErrorGitPullOnDirty error = errors.New("cannot git pull on dirty repo") func (repo *Repo) GitPull() (*cmd.Status, error) { - /* - currentName := repo.GetCurrentBranchName() - if repo.IsOnlyLocalTag(currentName) { - var result cmd.Status - result.Exit = 21 - result.Error = ErrorGitPullOnLocal - // log.Info("git pull skipped on local only branch", repo.GetGoPath()) - return result - } - */ var cmd []string cmd = append(cmd, "git", "pull") return nil, repo.RunVerbose(cmd) @@ -85,6 +75,7 @@ func (all *Repos) RillGitPull(part1 int, part2 int) map[*Repo]*cmd.Status { return allerr } +/* func (repo *Repo) GitPullRealtime() cmd.Status { currentName := repo.GetCurrentBranchName() if repo.IsOnlyLocalTag(currentName) { @@ -99,3 +90,4 @@ func (repo *Repo) GitPullRealtime() cmd.Status { r := repo.RunRealtime(cmd) return r } +*/ |
