...

Text file src/cmd/go/testdata/vcstest/git/querytest.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-07-03T22:31:01-04:00
    11git add go.mod
    12git commit -a -m 'v1'
    13git branch -m master
    14git tag start
    15
    16git branch v2
    17
    18at 2018-07-03T22:33:47-04:00
    19echo 'before v0.0.0-pre1'
    20cp stdout status
    21git add status
    22git commit -a -m 'before v0.0.0-pre1'
    23
    24echo 'at v0.0.0-pre1'
    25cp stdout status
    26git commit -a -m 'at v0.0.0-pre1'
    27git tag 'v0.0.0-pre1'
    28
    29echo 'before v0.0.0'
    30cp stdout status
    31git commit -a -m 'before v0.0.0'
    32
    33echo 'at v0.0.0'
    34cp stdout status
    35git commit -a -m 'at v0.0.0'
    36git tag 'v0.0.0'
    37
    38echo 'before v0.0.1'
    39cp stdout status
    40git commit -a -m 'before v0.0.1'
    41
    42echo 'at v0.0.1'
    43cp stdout status
    44git commit -a -m 'at v0.0.1'
    45git tag 'v0.0.1'
    46
    47echo 'before v0.0.2'
    48cp stdout status
    49git commit -a -m 'before v0.0.2'
    50
    51echo 'at v0.0.2'
    52cp stdout status
    53git commit -a -m 'at v0.0.2'
    54git tag 'v0.0.2'
    55
    56echo 'before v0.0.3'
    57cp stdout status
    58git commit -a -m 'before v0.0.3'
    59
    60echo 'at v0.0.3'
    61cp stdout status
    62git commit -a -m 'at v0.0.3'
    63git tag 'v0.0.3'
    64git tag favorite
    65
    66echo 'before v0.1.0'
    67cp stdout status
    68git commit -a -m 'before v0.1.0'
    69
    70echo 'at v0.1.0'
    71cp stdout status
    72git commit -a -m 'at v0.1.0'
    73git tag v0.1.0
    74
    75echo 'before v0.1.1'
    76cp stdout status
    77git commit -a -m 'before v0.1.1'
    78
    79echo 'at v0.1.1'
    80cp stdout status
    81git commit -a -m 'at v0.1.1'
    82git tag 'v0.1.1'
    83
    84echo 'before v0.1.2'
    85cp stdout status
    86git commit -a -m 'before v0.1.2'
    87
    88echo 'at v0.1.2'
    89cp stdout status
    90git commit -a -m 'at v0.1.2'
    91git tag 'v0.1.2'
    92
    93echo 'before v0.3.0'
    94cp stdout status
    95git commit -a -m 'before v0.3.0'
    96
    97echo 'at v0.3.0'
    98cp stdout status
    99git commit -a -m 'at v0.3.0'
   100git tag 'v0.3.0'
   101
   102echo 'before v1.0.0'
   103cp stdout status
   104git commit -a -m 'before v1.0.0'
   105
   106echo 'at v1.0.0'
   107cp stdout status
   108git commit -a -m 'at v1.0.0'
   109git tag 'v1.0.0'
   110
   111echo 'before v1.1.0'
   112cp stdout status
   113git commit -a -m 'before v1.1.0'
   114
   115echo 'at v1.1.0'
   116cp stdout status
   117git commit -a -m 'at v1.1.0'
   118git tag 'v1.1.0'
   119
   120echo 'before v1.9.0'
   121cp stdout status
   122git commit -a -m 'before v1.9.0'
   123
   124echo 'at v1.9.0'
   125cp stdout status
   126git commit -a -m 'at v1.9.0'
   127git tag 'v1.9.0'
   128
   129echo 'before v1.9.9'
   130cp stdout status
   131git commit -a -m 'before v1.9.9'
   132
   133echo 'at v1.9.9'
   134cp stdout status
   135git commit -a -m 'at v1.9.9'
   136git tag 'v1.9.9'
   137
   138at 2018-07-03T22:45:01-04:00
   139echo 'before v1.9.10-pre1'
   140cp stdout status
   141git commit -a -m 'before v1.9.10-pre1'
   142
   143echo 'at v1.9.10-pre1'
   144cp stdout status
   145git commit -a -m 'at v1.9.10-pre1'
   146git tag 'v1.9.10-pre1'
   147
   148at 2018-07-03T22:50:24-04:00
   149git checkout v2
   150cp v2/go.mod go.mod
   151git add go.mod
   152git commit -a -m 'v2'
   153
   154at 2018-07-03T22:51:14-04:00
   155echo 'before v2.0.0'
   156cp stdout status
   157git add status
   158git commit -a -m 'before v2.0.0'
   159
   160at 2018-07-03T22:51:14-04:00
   161echo 'at v2.0.0'
   162cp stdout status
   163git commit -a -m 'at v2.0.0'
   164git tag 'v2.0.0'
   165
   166at 2018-07-03T22:51:14-04:00
   167echo 'before v2.1.0'
   168cp stdout status
   169git commit -a -m 'before v2.1.0'
   170
   171at 2018-07-03T22:51:14-04:00
   172echo 'at v2.1.0'
   173cp stdout status
   174git commit -a -m 'at v2.1.0'
   175git tag 'v2.1.0'
   176
   177at 2018-07-03T22:51:14-04:00
   178echo 'before v2.2.0'
   179cp stdout status
   180git commit -a -m 'before v2.2.0'
   181
   182at 2018-07-03T22:51:14-04:00
   183echo 'at v2.2.0'
   184cp stdout status
   185git commit -a -m 'at v2.2.0'
   186git tag 'v2.2.0'
   187
   188at 2018-07-03T22:51:14-04:00
   189echo 'before v2.5.5'
   190cp stdout status
   191git commit -a -m 'before v2.5.5'
   192
   193at 2018-07-03T22:51:14-04:00
   194echo 'at v2.5.5'
   195cp stdout status
   196git commit -a -m 'at v2.5.5'
   197git tag 'v2.5.5'
   198
   199at 2018-07-03T23:35:18-04:00
   200echo 'after v2.5.5'
   201cp stdout status
   202git commit -a -m 'after v2.5.5'
   203
   204
   205env GIT_AUTHOR_NAME='Bryan C. Mills'
   206env GIT_AUTHOR_EMAIL=bcmills@google.com
   207env GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
   208env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
   209
   210git checkout v2.5.5
   211
   212at 2019-05-13T17:13:56-04:00
   213echo 'before v2.6.0-pre1'
   214cp stdout status
   215git commit -a -m 'before v2.6.0-pre1'
   216
   217at 2019-05-13T17:13:56-04:00
   218echo 'at v2.6.0-pre1'
   219cp stdout status
   220git commit -a -m 'at v2.6.0-pre1'
   221git tag 'v2.6.0-pre1'
   222
   223git checkout master
   224
   225at 2019-05-13T16:11:25-04:00
   226echo 'before v1.9.10-pre2+metadata'
   227cp stdout status
   228git commit -a -m 'before v1.9.10-pre2+metadata'
   229
   230at 2019-05-13T16:11:26-04:00
   231echo 'at v1.9.10-pre2+metadata'
   232cp stdout status
   233git commit -a -m 'at v1.9.10-pre2+metadata'
   234git tag 'v1.9.10-pre2+metadata'
   235
   236at 2019-12-20T08:46:14-05:00
   237echo 'after v1.9.10-pre2+metadata'
   238cp stdout status
   239git commit -a -m 'after v1.9.10-pre2+metadata'
   240
   241
   242git show-ref --tags --heads
   243cmp stdout .git-refs
   244
   245-- .git-refs --
   246ed5ffdaa1f5e7e0be6f5ba2d63097026506224f2 refs/heads/master
   247feed8f518cf4a7215a3b2a8268b8b0746dcbb12d refs/heads/v2
   248f6abd4e3ed7f2297bc8fd2888bd6d5412e255fcc refs/tags/favorite
   2495e9e31667ddfe16e9350f4bd00acc933c8cd5e56 refs/tags/start
   2500de900e0063bcc310ea0621bfbc227a9b4e3b020 refs/tags/v0.0.0
   251e5ec98b1c15df29e3bd346d538d73b6e8c3b500c refs/tags/v0.0.0-pre1
   252179bc86b1be3f6d4553f77ebe68a8b6d750ceff8 refs/tags/v0.0.1
   25381da2346e009fa1072fe4de3a9a223398ea8ec39 refs/tags/v0.0.2
   254f6abd4e3ed7f2297bc8fd2888bd6d5412e255fcc refs/tags/v0.0.3
   2557a1b6bf60ae5bb2b2bd49d152e0bbad806056122 refs/tags/v0.1.0
   256daedca9abee3171fe45e0344098a993675ac799e refs/tags/v0.1.1
   257ce829e0f1c45a2eca0f1ad16d7c1aca7cddb433b refs/tags/v0.1.2
   25844aadfee25d86acb32d6f352afd1d602b0e3a651 refs/tags/v0.3.0
   25920756d3a393908b2edb5db0f0bb954e962860168 refs/tags/v1.0.0
   260b0bf267f64b7d5b5cabe22fbcad22f3f1642b7e5 refs/tags/v1.1.0
   261609dca58c03f0ddf1d8ebe46c1f74fc6a99f3e73 refs/tags/v1.9.0
   262e0cf3de987e660c21b6950e85b317ce5f7fbb9d9 refs/tags/v1.9.10-pre1
   26342abcb6df8eee6983aeca9a307c28ea40530aceb refs/tags/v1.9.10-pre2+metadata
   2645ba9a4ea62136ae86213feba68bc73858f55b7e1 refs/tags/v1.9.9
   2659763aa065ae27c6cacec5ca8b6dfa43a1b31dea0 refs/tags/v2.0.0
   26623c28cb696ff40a2839ce406f2c173aa6c3cdda6 refs/tags/v2.1.0
   2671828ee9f8074075675013e4d488d5d49ddc1b502 refs/tags/v2.2.0
   268d7352560158175e3b6aa11e22efb06d9e87e6eea refs/tags/v2.5.5
   269fb9e35b393eb0cccc37e13e243ce60b4ff8c7eea refs/tags/v2.6.0-pre1
   270-- go.mod --
   271module vcs-test.golang.org/git/querytest.git
   272-- v2/go.mod --
   273module vcs-test.golang.org/git/querytest.git/v2

View as plain text