summaryrefslogtreecommitdiff
path: root/cobol.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-07 22:27:54 -0600
committerJeff Carr <[email protected]>2025-01-07 22:27:54 -0600
commitb27a1fccad08a8aac11b73097e93a6aa97bf87f7 (patch)
tree02dcc194e97572539a295fc755ec6424a0feddbe /cobol.go
parent5eb51f28327f3b2fd537d681f38b28dbd673057e (diff)
allow delete for a single repo
Diffstat (limited to 'cobol.go')
-rw-r--r--cobol.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cobol.go b/cobol.go
index e66ba8d..e75f489 100644
--- a/cobol.go
+++ b/cobol.go
@@ -165,6 +165,9 @@ func verifyPrint(repo *gitpb.Repo) {
if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
end += "(readonly) "
}
+ if repo.GetMasterBranchName() != "master" && repo.GetMasterBranchName() != "main" {
+ end += "(m:" + repo.GetMasterBranchName() + ") "
+ }
log.Info(start, end)
}