Skip to content

Commit ff9d2c5

Browse files
authored
Merge pull request #59 from pjbgf/rev
Add reverse indexes for packfiles
2 parents 8b982e2 + 8e369c9 commit ff9d2c5

24 files changed

+18
-0
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,21 @@ jobs:
3333

3434
- name: Test
3535
run: make test
36+
37+
- name: Check index files
38+
shell: bash
39+
run: |
40+
ls data/pack-*.pack | \
41+
grep -v 407497645643e18a7ba56c6132603f167fe9c51c00361ee0c81d74a8f55d0ee2 | \
42+
grep -v ee4fef0ef8be5053ebae4ce75acf062ddf3031fb | \
43+
xargs -I{} git verify-pack -v {}
44+
45+
- name: Re-generate reverse index files
46+
shell: bash
47+
run: |
48+
ls data/pack-*.pack | \
49+
grep -v 407497645643e18a7ba56c6132603f167fe9c51c00361ee0c81d74a8f55d0ee2 | \
50+
grep -v ee4fef0ef8be5053ebae4ce75acf062ddf3031fb | \
51+
xargs -I{} git index-pack --rev-index -v {}
52+
git status
53+
git diff-index --quiet HEAD --
832 Bytes
Binary file not shown.
3.76 KB
Binary file not shown.
244 Bytes
Binary file not shown.
324 Bytes
Binary file not shown.
332 Bytes
Binary file not shown.
468 Bytes
Binary file not shown.
60 Bytes
Binary file not shown.
8.38 KB
Binary file not shown.
240 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)