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