Text file src/cmd/go/testdata/vcstest/git/v2sub.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 2022-02-22T15:53:33-05:00
    11  git add v2sub.go v2
    12  git commit -m 'all: add package v2sub and v2sub/v2'
    13  git branch -m main
    14  git tag v2.0.0
    15  
    16  at 2022-02-22T15:55:07-05:00
    17  git add README.txt
    18  git commit -m 'v2sub: add README.txt'
    19  
    20  git show-ref --tags --heads
    21  cmp stdout .git-refs
    22  
    23  -- .git-refs --
    24  80beb17a16036f17a5aedd1bb5bd6d407b3c6dc5 refs/heads/main
    25  5fcd3eaeeb391d399f562fd45a50dac9fc34ae8b refs/tags/v2.0.0
    26  -- v2/go.mod --
    27  module vcs-test.golang.org/git/v2sub.git/v2
    28  
    29  go 1.16
    30  -- v2/v2sub.go --
    31  package v2sub
    32  -- v2sub.go --
    33  package v2sub
    34  -- README.txt --
    35  This root module lacks a go.mod file.
    36  

View as plain text