...

Text file src/cmd/go/testdata/vcstest/git/modlegacy1-old.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-25T10:59:24-04:00
    11git add 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 --
    196b4ba8b (HEAD -> master) initial commit
    20-- p1/p1.go --
    21package p1
    22
    23import _ "vcs-test.golang.org/git/modlegacy1-old.git/p2"
    24import _ "vcs-test.golang.org/git/modlegacy1-new.git/p1"
    25import _ "vcs-test.golang.org/git/modlegacy1-new.git"
    26-- p2/p2.go --
    27package p2

View as plain text