summaryrefslogtreecommitdiffstats
path: root/pkg/commands/remote_branch.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/remote_branch.go')
-rw-r--r--pkg/commands/remote_branch.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/commands/remote_branch.go b/pkg/commands/remote_branch.go
index 0435a050f..ca39ac4c1 100644
--- a/pkg/commands/remote_branch.go
+++ b/pkg/commands/remote_branch.go
@@ -5,3 +5,7 @@ type RemoteBranch struct {
Name string
RemoteName string
}
+
+func (r *RemoteBranch) FullName() string {
+ return r.RemoteName + "/" + r.Name
+}