Text file src/cmd/go/testdata/vcstest/git/modlegacy1-new.txt

     1  handle git
     2  
     3  env GIT_AUTHOR_NAME='Russ Cox'
     4  env GIT_AUTHOR_EMAIL='rsc@golang.org'
     5  env GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
     6  env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
     7  
     8  git init
     9  
    10  at 2018-04-25T11:00:57-04:00
    11  git add go.mod new.go p1 p2
    12  git commit -m 'initial commit'
    13  git branch -m master
    14  
    15  git log --oneline --decorate=short
    16  cmp stdout .git-log
    17  
    18  -- .git-log --
    19  36cc50a (HEAD -> master) initial commit
    20  -- go.mod --
    21  module "vcs-test.golang.org/git/modlegacy1-new.git/v2"
    22  -- new.go --
    23  package new
    24  
    25  import _ "vcs-test.golang.org/git/modlegacy1-new.git/v2/p2"
    26  -- p1/p1.go --
    27  package p1
    28  
    29  import _ "vcs-test.golang.org/git/modlegacy1-old.git/p2"
    30  import _ "vcs-test.golang.org/git/modlegacy1-new.git"
    31  import _ "vcs-test.golang.org/git/modlegacy1-new.git/p2"
    32  -- p2/p2.go --
    33  package p2
    34  

View as plain text