...

Text file src/cmd/go/testdata/vcstest/git/empty-v2-without-v1.txt

Documentation: cmd/go/testdata/vcstest/git

     1handle git
     2
     3env GIT_AUTHOR_NAME='Bryan C. Mills'
     4env GIT_AUTHOR_EMAIL='bcmills@google.com'
     5env GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
     6env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
     7
     8git init
     9
    10at 2019-10-07T14:15:32-04:00
    11git add go.mod
    12git commit -m 'add go.mod file without go source files'
    13git branch -m master
    14git tag v2.0.0
    15
    16git log --oneline --decorate=short
    17cmp stdout .git-log
    18
    19-- .git-log --
    20122733c (HEAD -> master, tag: v2.0.0) add go.mod file without go source files
    21-- go.mod --
    22module vcs-test.golang.org/git/empty-v2-without-v1.git/v2
    23
    24go 1.14

View as plain text