Text file src/cmd/go/testdata/vcstest/git/legacytest.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  git branch -M master
    10  
    11  at 2018-07-17T12:41:39-04:00
    12  cp x_cf92c7b.go x.go
    13  git add x.go
    14  git commit -m 'initial commit'
    15  
    16  at 2018-07-17T12:41:57-04:00
    17  cp x_52853eb.go x.go
    18  git commit -m 'add X' x.go
    19  
    20  at 2018-07-17T12:42:07-04:00
    21  cp x_7fff7f3.go x.go
    22  git commit -m 'gofmt' x.go
    23  git tag v1.0.0
    24  
    25  at 2018-07-17T12:42:28-04:00
    26  cp x_fa4f5d6.go x.go
    27  git commit -m 'X->XX' x.go
    28  
    29  at 2018-07-17T12:42:36-04:00
    30  cp x_d7ae1e4.go x.go
    31  git commit -m 'gofmt' x.go
    32  git tag v2.0.0
    33  
    34  at 2018-07-17T12:42:53-04:00
    35  cp x_7303f77.go x.go
    36  git commit -m 'add XXX' x.go
    37  
    38  at 2018-07-17T12:47:59-04:00
    39  git checkout v1.0.0
    40  cp x_1abc5ff.go x.go
    41  git commit -m 'comment' x.go
    42  
    43  at 2018-07-17T12:48:22-04:00
    44  cp x_731e3b1.go x.go
    45  git commit -m 'prerelease' x.go
    46  git tag v1.1.0-pre
    47  
    48  at 2018-07-17T12:48:49-04:00
    49  cp x_fb3c628.go x.go
    50  git commit -m 'working' x.go
    51  
    52  at 2018-07-17T12:49:05-04:00
    53  cp x_9f6f860.go x.go
    54  git commit -m 'v1.2.0' x.go
    55  git tag v1.2.0
    56  
    57  at 2018-07-17T12:49:42-04:00
    58  cp x_d2d4c3e.go x.go
    59  git commit -m 'more' x.go
    60  git tag morework
    61  
    62  git show-ref --tags --heads
    63  cmp stdout .git-refs
    64  
    65  -- .git-refs --
    66  7303f77963648d5f1ec5e55eccfad8e14035866c refs/heads/master
    67  d2d4c3ea66230e7ad6fbd8f0ecd8c0f851392364 refs/tags/morework
    68  7fff7f3417faa4a795f9518bc2bef05147a1d6c0 refs/tags/v1.0.0
    69  731e3b12a0272dcafb560b8fa6a4e9ffb20ef5c9 refs/tags/v1.1.0-pre
    70  9f6f860fe5c92cd835fdde2913aca8db9ce63373 refs/tags/v1.2.0
    71  d7ae1e4b368320e7a577fc8a9efc1e78aacac52a refs/tags/v2.0.0
    72  -- x_1abc5ff.go --
    73  package legacytest
    74  
    75  // add comment
    76  const X = 1
    77  -- x_52853eb.go --
    78  package legacytest
    79  const X = 1
    80  -- x_7303f77.go --
    81  package legacytest
    82  
    83  const XX = 2
    84  
    85  const XXX = 3
    86  -- x_731e3b1.go --
    87  package legacytest
    88  
    89  // add comment again
    90  const X = 1
    91  -- x_7fff7f3.go --
    92  package legacytest
    93  
    94  const X = 1
    95  -- x_9f6f860.go --
    96  package legacytest
    97  
    98  // add comment again!!!
    99  const X = 1
   100  -- x_cf92c7b.go --
   101  package legacytest
   102  -- x_d2d4c3e.go --
   103  package legacytest
   104  
   105  // add comment hack hack hack
   106  const X = 1
   107  -- x_d7ae1e4.go --
   108  package legacytest
   109  
   110  const XX = 2
   111  -- x_fa4f5d6.go --
   112  package legacytest
   113  const XX = 2
   114  -- x_fb3c628.go --
   115  package legacytest
   116  
   117  // add comment fixed
   118  const X = 1
   119  

View as plain text