summaryrefslogtreecommitdiff
path: root/branches.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-21 09:34:41 -0600
committerJeff Carr <[email protected]>2025-02-21 09:34:41 -0600
commit27c8c380475147f640fb971fe5ac5d0b5d1b2ac3 (patch)
treef595de7d808ae201763777187fa22cf7757061ec /branches.go
parent3f1c8bf5c28a8cbff50b56367954d5daf4ad0bcc (diff)
rm old code
Diffstat (limited to 'branches.go')
-rw-r--r--branches.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/branches.go b/branches.go
index 46ea091..ed9bbf9 100644
--- a/branches.go
+++ b/branches.go
@@ -19,6 +19,7 @@ func (repo *Repo) ExistsUserBranchRemote() bool {
return false
}
+/*
// returns true if the user branch exists
func (repo *Repo) ExistsUserBranch() bool {
if repo.GetUserBranchName() == "" {
@@ -57,7 +58,9 @@ func (repo *Repo) GetBranchHash(branchname string) string {
}
return ""
}
+*/
+/*
func (repo *Repo) GetBranchVersion(branchname string) string {
if branchname == repo.GetUserBranchName() {
return "user"
@@ -82,6 +85,7 @@ func (repo *Repo) GetBranchVersion(branchname string) string {
}
return ""
}
+*/
func readRefHash(filename string) string {
data, _ := os.ReadFile(filename)