diff options
| author | Jeff Carr <[email protected]> | 2024-01-23 15:39:53 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-23 15:39:53 -0600 |
| commit | edf74e160e047e3bad86f7cf52032c12cf0813f0 (patch) | |
| tree | ba6fd864eb71f0c455b9c0a6509e918cdf600a11 /git.go | |
| parent | dae15b593174ed82ac0f5f8c7250cb765a2b7f64 (diff) | |
still has oneliner display bug
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'git.go')
| -rw-r--r-- | git.go | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -10,12 +10,14 @@ import ( ) func (rs *RepoStatus) String() string { - return rs.goSrcPath.String() + return rs.path.String() } +/* func (rs *RepoStatus) GetPath() string { - return rs.goSrcPath.String() + return rs.path.String() } +*/ func (rs *RepoStatus) GetCurrentBranchName() string { return rs.currentBranch.String() @@ -238,7 +240,7 @@ func (rs *RepoStatus) GetStatus() string { log.Log(INFO, "Branches are Perfect") return "PERFECT" } - log.Log(INFO, rs.GetPath(), "Branches are not Perfect") + log.Log(INFO, rs.String(), "Branches are not Perfect") return "unknown branches" } |
