use oidset for skiplist + docs + tests + comment support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest10 patches 0 repliesNew
- v48 patches 1 replySuperseded
- v37 patches 3 repliesSuperseded
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | fsck tests: setup of bogus commit objectt/ | +4 | 0 replies | |
| 2/10 | fsck tests: add a test for no skipList inputt/ | +5 | 0 replies | |
| 3/10 | fsck: document and test sorted skipList inputDocumentation/ t/ | +28 | 0 replies | |
| 4/10 | fsck: document and test commented & empty line skipList inputDocumentation/ t/ | +28 | 0 replies | |
| 5/10 | fsck: document that skipList input must be unabbreviatedDocumentation/ t/ | +7 | 0 replies | |
| 6/10 | fsck: add a performance testt/ | +13 | 0 replies | |
| 7/10 | fsck: add a performance test for skipListt/ | +40 | 0 replies | |
| 8/10 | fsck: use strbuf_getline() to read skiplist filefsck.c t/ | +13 | 0 replies | |
| 9/10 | fsck: use oidset instead of oid_array for skipListDocumentation/ fsck.c fsck.h | +13 | 0 replies | |
| 10/10 | fsck: support comments & empty lines in skipListDocumentation/ fsck.c t/ | +33 | 0 replies |
Reviews trailers per patch
None of the 10 patches has a Reviewed-by or Acked-by.
| Patch | Ævar Arnfjörð Bjarmason | Jeff King |
|---|---|---|
| 1/10 | ||
| 2/10 | ||
| 3/10 | ||
| 4/10 | ||
| 5/10 | ||
| 6/10 | ||
| 7/10 | ||
| 8/10 | Helped-by | |
| 9/10 | Helped-by | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 00/10] use oidset for skiplist + docs + tests + comment support
Addresses feedback René had on v4. Notes below:
René Scharfe (3):
fsck: add a performance test for skipList
fsck: use strbuf_getline() to read skiplist file
No changes.
fsck: use oidset instead of oid_array for skipList
Now we note in the commit message that the skipList is re-consulted for .gitmodules blobs, as René pointed out.
Ævar Arnfjörð Bjarmason (7):
fsck tests: setup of bogus commit object
fsck tests: add a test for no skipList input
No changes.
fsck: document and test sorted skipList input
Trivial whitespace change in new docs paragraph.
fsck: document and test commented & empty line skipList input
No changes.
fsck: document that skipList input must be unabbreviated
NEW: Now we document & test for the SHA-1s on the skip list being unabbreviated. It was always like this, but let's say so / test for it.
fsck: add a performance test
NEW: Add a generic new fsck perf test while I'm at it, in addition to the more specific one René wrote.
fsck: support comments & empty lines in skipList
The major change this time around, we now support trailing comments, leading whitespace before comments, whitespace-only lines etc. I went one step further than what René suggested and decided to just call strbuf_trim() so now we also support SHA-1s with leading spaces. I don't see a good reason to go out of our way to ban those, and it's consistent with other formats we use (and perhaps people will use this to align them in some way).
Documentation/config.txt | 23 ++++++++--- fsck.c | 60 +++++++++++++-------------- fsck.h | 8 ++-- t/perf/p1450-fsck.sh | 13 ++++++ t/perf/p1451-fsck-skip-list.sh | 40 ++++++++++++++++++ t/t5504-fetch-receive-strict.sh | 72 +++++++++++++++++++++++++++++++-- 6 files changed, 171 insertions(+), 45 deletions(-) create mode 100755 t/perf/p1450-fsck.sh create mode 100755 t/perf/p1451-fsck-skip-list.sh
Signature · 1 line
2.19.0.rc1.350.ge57e33dbd1