Text file src/cmd/go/testdata/vcstest/git/commit-after-tag.txt

     1  handle git
     2  
     3  env GIT_AUTHOR_NAME='Bryan C. Mills'
     4  env GIT_AUTHOR_EMAIL='bcmills@google.com'
     5  env GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
     6  env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
     7  
     8  git init
     9  
    10  at 2019-07-15T17:16:47-04:00
    11  git add go.mod main.go
    12  git commit -m 'all: add go.mod and main.go'
    13  git branch -m master
    14  git tag v1.0.0
    15  
    16  at 2019-07-15T17:17:27-04:00
    17  cp _next/main.go main.go
    18  git add main.go
    19  git commit -m 'add init function'
    20  
    21  git log --oneline --decorate=short
    22  cmp stdout .git-log
    23  
    24  -- .git-log --
    25  b325d82 (HEAD -> master) add init function
    26  8da67e0 (tag: v1.0.0) all: add go.mod and main.go
    27  -- go.mod --
    28  module vcs-test.golang.org/git/commit-after-tag.git
    29  
    30  go 1.13
    31  -- main.go --
    32  package main
    33  
    34  func main() {}
    35  -- _next/main.go --
    36  package main
    37  
    38  func main() {}
    39  func init() {}
    40  

View as plain text