aboutsummaryrefslogtreecommitdiffstats
path: root/config/refspec.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/refspec.go')
-rw-r--r--config/refspec.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/refspec.go b/config/refspec.go
index 2fe8d22..e74bf78 100644
--- a/config/refspec.go
+++ b/config/refspec.go
@@ -108,3 +108,7 @@ func (s RefSpec) Dst(n core.ReferenceName) core.ReferenceName {
return core.ReferenceName(dst[0:wd] + match + dst[wd+1:len(dst)])
}
+
+func (s RefSpec) String() string {
+ return string(s)
+}