File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ objpath () {
9
9
10
10
# show objects present in pack ($1 should be associated *.idx)
11
11
list_packed_objects () {
12
- git show-index < " $1 " | cut -d' ' -f2
12
+ git show-index < " $1 " > object-list &&
13
+ cut -d' ' -f2 object-list
13
14
}
14
15
15
16
# has_any pattern-file content-file
@@ -204,8 +205,8 @@ test_expect_success 'pack-objects to file can use bitmap' '
204
205
# verify equivalent packs are generated with/without using bitmap index
205
206
packasha1=$(git pack-objects --no-use-bitmap-index --all packa </dev/null) &&
206
207
packbsha1=$(git pack-objects --use-bitmap-index --all packb </dev/null) &&
207
- list_packed_objects < packa-$packasha1.idx >packa.objects &&
208
- list_packed_objects < packb-$packbsha1.idx >packb.objects &&
208
+ list_packed_objects packa-$packasha1.idx >packa.objects &&
209
+ list_packed_objects packb-$packbsha1.idx >packb.objects &&
209
210
test_cmp packa.objects packb.objects
210
211
'
211
212
You can’t perform that action at this time.
0 commit comments