99
uri = file://$(pwd)/clone-from/bundle-4.bundle
100
EOF
101
102
- git clone --bundle-uri="file://$(pwd)/bundle-list" clone-from clone-list-file &&
102
+ git clone --bundle-uri="file://$(pwd)/bundle-list" \
103
+ clone-from clone-list-file 2>err &&
104
+ ! grep "Repository lacks these prerequisite commits" err &&
105
+
106
git -C clone-from for-each-ref --format="%(objectname)" >oids &&
107
git -C clone-list-file cat-file --batch-check <oids &&
108
144
EOF
145
146
GIT_TRACE2_PERF=1 \
144
- git clone --bundle-uri="file://$(pwd)/bundle-list" clone-from clone-all-some &&
147
+ git clone --bundle-uri="file://$(pwd)/bundle-list" \
148
+ clone-from clone-all-some 2>err &&
149
+ ! grep "Repository lacks these prerequisite commits" err &&
150
+
151
git -C clone-from for-each-ref --format="%(objectname)" >oids &&
152
git -C clone-all-some cat-file --batch-check <oids &&
153
175
uri = file://$(pwd)/clone-from/bundle-5.bundle
176
EOF
177
172
- git clone --bundle-uri="file://$(pwd)/bundle-list" clone-from clone-all-fail &&
178
+ git clone --bundle-uri="file://$(pwd)/bundle-list" \
179
+ clone-from clone-all-fail 2>err &&
180
+ ! grep "Repository lacks these prerequisite commits" err &&
181
+
182
git -C clone-from for-each-ref --format="%(objectname)" >oids &&
183
git -C clone-all-fail cat-file --batch-check <oids &&
184
204
uri = file://$(pwd)/clone-from/bundle-5.bundle
205
EOF
206
198
- git clone --bundle-uri="file://$(pwd)/bundle-list" clone-from clone-any-file &&
207
+ git clone --bundle-uri="file://$(pwd)/bundle-list" \
208
+ clone-from clone-any-file 2>err &&
209
+ ! grep "Repository lacks these prerequisite commits" err &&
210
+
211
git -C clone-from for-each-ref --format="%(objectname)" >oids &&
212
git -C clone-any-file cat-file --batch-check <oids &&
213
296
uri = $HTTPD_URL/bundle-4.bundle
297
EOF
298
287
- git clone --bundle-uri="$HTTPD_URL/bundle-list" clone-from clone-list-http &&
299
+ git clone --bundle-uri="$HTTPD_URL/bundle-list" \
300
+ clone-from clone-list-http 2>err &&
301
+ ! grep "Repository lacks these prerequisite commits" err &&
302
+
303
git -C clone-from for-each-ref --format="%(objectname)" >oids &&
304
git -C clone-list-http cat-file --batch-check <oids
305
'