aboutsummaryrefslogtreecommitdiffstats
path: root/config/refspec.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-08-21 01:07:15 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-08-21 01:07:15 +0200
commitb32e92d013f6fe0d97f094c4b1991100d568f980 (patch)
treec80e847e3409fe0303a3ebabdf3e2a01c45b37f3 /config/refspec.go
parentc9f0c29f423f9bb26f32d6e8c7098f275171afb9 (diff)
downloadgo-git-b32e92d013f6fe0d97f094c4b1991100d568f980.tar.gz
remote and repository base on ConfigStore
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)
+}