Home | History | Annotate | Download | only in dist

Lines Matching refs:Git

254 	b := run(goroot, CheckExit, "git", "log", "--decorate=full", "--format=format:%d", "master.."+branch)
300 // git every time we run this command. Unlike VERSION, it gets
307 // Show a nicer error message if this isn't a Git repo.
309 fatal("FAILED: not a Git repo; must put a VERSION file in $GOROOT")
312 // Otherwise, use Git.
314 branch := chomp(run(goroot, CheckExit, "git", "rev-parse", "--abbrev-ref", "HEAD"))
328 tag += chomp(run(goroot, CheckExit, "git", "log", "-n", "1", "--format=format: +%h %cd", "HEAD"))
337 // isGitRepo reports whether the working directory is inside a Git repository.
339 // NB: simply checking the exit code of `git rev-parse --git-dir` would
342 gitDir := chomp(run(goroot, 0, "git", "rev-parse", "--git-dir"))