...

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

Documentation: cmd/go/testdata/vcstest/git

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

View as plain text