Lines Matching full:branch
253 func branchtag(branch string) (tag string, precise bool) {
254 b := run(goroot, CheckExit, "git", "log", "--decorate=full", "--format=format:%d", "master.."+branch)
255 tag = branch
258 // (tag: refs/tags/go1.4rc2, refs/remotes/origin/release-branch.go1.4, refs/heads/release-branch.go1.4)
313 // What is the current branch?
314 branch := chomp(run(goroot, CheckExit, "git", "rev-parse", "--abbrev-ref", "HEAD"))
316 // What are the tags along the current branch?
320 // If we're on a release branch, use the closest matching tag
321 // that is on the release branch (and not on the master branch).
322 if strings.HasPrefix(branch, "release-branch.") {
323 tag, precise = branchtag(branch)