summaryrefslogtreecommitdiff
path: root/branches.go
diff options
context:
space:
mode:
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)