]> xenbits.xensource.com Git - people/gdunlap/xsatool/commitdiff
Apply: Always check out local master rather than origin/master
authorGeorge Dunlap <george.dunlap@citrix.com>
Fri, 19 May 2017 14:35:58 +0000 (15:35 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Fri, 19 May 2017 14:35:58 +0000 (15:35 +0100)
To make testing work

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
xen.go

diff --git a/xen.go b/xen.go
index ce8fa8acf6706618cc83d036eb0383916246193d..7735a00783329c723fb6529401b375c08b818616 100644 (file)
--- a/xen.go
+++ b/xen.go
@@ -170,7 +170,7 @@ func (xr *XenRepo) releaseTagPrefix() (s string) {
 
 func (xr *XenRepo) GetTag(ver XenVersionFull) (tag string) {
        if ver.XenVersion() == XenVersionMaster {
-               tag = "origin/master"
+               tag = "master"
        } else {
                tag = xr.releaseTagPrefix() + ver.String()
        }