Text file src/cmd/go/testdata/vcstest/git/gitreposubdir.txt

     1  handle git
     2  
     3  env GIT_AUTHOR_NAME='Sam Thanawalla'
     4  env GIT_AUTHOR_EMAIL='samthanawalla@google.com'
     5  env GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
     6  env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
     7  
     8  at 2019-10-07T14:15:32-04:00
     9  
    10  git init
    11  
    12  git add foo/subdir
    13  git commit -m 'initial commit'
    14  git branch -m master
    15  git tag foo/subdir/v1.2.3
    16  
    17  -- foo/subdir/go.mod --
    18  module vcs-test.golang.org/go/gitreposubdir
    19  
    20  go 1.23
    21  -- foo/subdir/hello.go --
    22  package greeter
    23  
    24  func Hello() string {
    25  	return "hello, world"
    26  }
    27  

View as plain text