What's cooking (2021/06 #07)

This commit is contained in:
Junio C Hamano
2021-06-30 15:42:48 -07:00
parent 2cbe4a3e12
commit dc18a92043

View File

@@ -1,10 +1,10 @@
To: git@vger.kernel.org
Bcc: lwn@lwn.net
Subject: What's cooking in git.git (Jun 2021, #06; Thu, 17)
Subject: What's cooking in git.git (Jun 2021, #07; Wed, 30)
X-master-at: 670b81a890388c60b7032a4f5b879f2ece8c4558
X-next-at: 670b81a890388c60b7032a4f5b879f2ece8c4558
What's cooking in git.git (Jun 2021, #06; Thu, 17)
What's cooking in git.git (Jun 2021, #07; Wed, 30)
--------------------------------------------------
Here are the topics that have been cooking in my tree. Commits
@@ -19,12 +19,11 @@ another topic already in flight" or "this may turn out to be
useful")---do not read too much into a topic being in (or not in)
'seen'.
The tip of 'next' has been rewound. We'll start merging topics that
have been reviewed well down. On the other hand, some topics have
been waiting for updates for too long. I've started marking them
for discarding. Motivated contributors may want to take a look of
them, pick an easy one or two, reroll them on behalf of the original
authors, to resurrect them.
Some new topics have been merged to 'seen' and are listed in this
report but there may well be topics that I haven't got around to
pick them up. Also, among those that are in 'seen', I haven't
summarized many of them in this rerpot (let alone decided what to do
with them). Help and patience is greatly appreciated.
Copies of the source code to Git live in many repositories, and the
following is a list of the ones I push into or their mirrors. Some
@@ -57,107 +56,192 @@ Release tarballs are available at:
--------------------------------------------------
[New Topics]
* ab/config-based-hooks-base (2021-06-16) 30 commits
- hook-list.h: add a generated list of hooks, like config-list.h
- hooks: fix a TOCTOU in "did we run a hook?" heuristic
- receive-pack: convert receive hooks to hook.h
- post-update: use hook.h library
- receive-pack: convert 'update' hook to hook.h
- hooks: allow callers to capture output
- run-command: allow capturing of collated output
- reference-transaction: use hook.h to run hooks
- transport: convert pre-push hook to use config
- hook: convert 'post-rewrite' hook in sequencer.c to hook.h
- hook: provide stdin by string_list or callback
- run-command: add stdin callback for parallelization
- am: convert 'post-rewrite' hook to hook.h
- hook: support passing stdin to hooks
- run-command: allow stdin for run_processes_parallel
- run-command: remove old run_hook_{le,ve}() hook API
- receive-pack: convert push-to-checkout hook to hook.h
- read-cache: convert post-index-change hook to use config
- commit: use hook.h to execute hooks
- git-p4: use 'git hook' to run hooks
- send-email: use 'git hook run' for 'sendemail-validate'
- git hook run: add an --ignore-missing flag
- merge: use config-based hooks for post-merge hook
- hooks: convert 'post-checkout' hook to hook library
- am: convert applypatch hooks to use config
- rebase: teach pre-rebase to use hook.h
- gc: use hook library for pre-auto-gc hook
- hook.c: add a hook_exists() wrapper and use it in bugreport.c
- run-command.h: move find_hook() to hook.h
- hook: add 'run' subcommand
* fw/complete-cmd-idx-fix (2021-06-19) 1 commit
- completion: bash: fix late declaration of __git_cmd_idx
Restructuring of (a subset of) Emily's config-based-hooks series,
to demonstrate that a series can be presented as a more logical and
focused progression.
Waiting for reviews.
* ab/config-hooks-path-testfix (2021-06-16) 1 commit
- pre-commit hook tests: don't leave "actual" nonexisting on failure
Test fix.
Recent update to completion script (in contrib/) broke those who
use the __git_complete helper to define completion to their custom
command.
Will merge to 'next'.
* ab/doc-retire-alice-bob (2021-06-16) 6 commits
- pack-protocol doc: use "www-data" in place of "alice"
- doc: replace "alice" and "bob" with "jdoe" and "msmith"
- fast-import doc: change "bob" in an example to "file.txt"
- daemon doc + code comments: reword "alice" example
- gitcvs-migration doc: replace "alice" and "bob" with "you" and "www-data"
- gittutorial doc: replace "alice" and "bob" with "you" and "www-data"
* jk/test-avoid-globmatch-with-skip-patterns (2021-06-17) 1 commit
- test-lib: avoid accidental globbing in match_pattern_list()
* ab/pre-auto-gc-hook-test (2021-06-16) 1 commit
- gc tests: add a test for the "pre-auto-gc" hook
Test fix.
We broke "GIT_SKIP_TESTS=t?000" to skip certain tests in recent
update, which got fixed.
Will merge to 'next'.
* jv/userdiff-csharp-update (2021-06-16) 1 commit
- userdiff: add support for C# record types
* jk/test-without-readlink-1 (2021-06-19) 1 commit
- t: use portable wrapper for readlink(1)
The userdiff pattern for C# learned the token "record".
Some test scripts assumed that readlink(1) was universally
installed and available, which is not the case.
Will merge to 'next'.
* en/ort-perf-batch-13 (2021-06-16) 5 commits
- merge-ort: add prefetching for content merges
- diffcore-rename: use a different prefetch for basename comparisons
- diffcore-rename: allow different missing_object_cb functions
- t6421: add tests checking for excessive object downloads during merge
- promisor-remote: output trace2 statistics for number of objects fetched
* jx/sideband-cleanup (2021-06-17) 4 commits
- test: refactor to use "get_abbrev_oid" to get abbrev oid
- test: refactor to use "test_commit" to create commits
- test: compare raw output, not mangle tabs and spaces
- sideband: don't lose clear-to-eol at packet boundary
Performance tweaks of "git merge -sort" around lazy fetching of objects.
The side-band demultiplexer that is used to display progress output
from the remote end did not clear the line properly when the end of
line hits at a packet boundary, which has been corrected. Also
comes with test clean-ups.
Will merge to 'next'.
* ab/serve-cleanup (2021-06-17) 5 commits
- serve: use designated initializers
- transport: use designated initializers
- transport: rename "fetch" in transport_vtable to "fetch_refs"
- SQUASH??? struct strvec no longer needed
- serve: mark has_capability() as static
* ab/bundle-doc (2021-06-30) 3 commits
- bundle doc: elaborate on rev<->ref restriction
- bundle doc: split out open v.s. closed discussion from <rev-arg>
- bundle doc: rewrite the "DESCRIPTION" section
Code clean-up around "git serve".
Doc update.
* js/stop-exporting-bogus-columns (2021-06-17) 1 commit
- pager: do not unnecessarily set COLUMNS on Windows
* ab/fix-columns-to-80-during-tests (2021-06-29) 1 commit
- test-lib.sh: set COLUMNS=80 for --verbose repeatability
When we cannot figure out how wide the terminal is, we use a
fallback value of 80 ourselves (which cannot be avoided), but when
we run the pager, we export it in COLUMNS, which forces the pager
to use the hardcoded value, even when the pager is perfectly
capable to figure it out itself. Stop exporting COLUMNS
only when building on Windows to work around this issue.
Output from some of our tests were affected by the width of the
terminal that they were run in, which has been corrected by
exporting a fixed value in the COLUMNS environment.
Will merge to 'next'.
* ab/pack-stdin-packs-fix (2021-06-28) 2 commits
- pack-objects: fix segfault in --stdin-packs option
- pack-objects tests: cover blindspots in stdin handling
Input validation of "git pack-objects --stdin-packs" has been
corrected.
cf. <YND3h2l10PlnSNGJ@nand.local>
* ar/more-typofix (2021-06-28) 3 commits
- git-worktree.txt: fix typo in example path
- t: fix typos in test messages
- blame: correct name of config option in docs
Typofixes.
Will merge to 'next'.
* bk/doc-commit-typofix (2021-06-28) 1 commit
- Documentation: fix typo in the --patch option of the commit command
* dc/p4-binary-submit-fix (2021-06-28) 1 commit
- git-p4: fix failed submit by skip non-text data files
* ds/commit-and-checkout-with-sparse-index (2021-06-28) 5 commits
- checkout: stop expanding sparse indexes
- sparse-index: recompute cache-tree
- commit: integrate with sparse-index
- p2000: compress repo names
- p2000: add 'git checkout -' test and decrease depth
(this branch uses ds/status-with-sparse-index.)
* en/merge-dir-rename-corner-case-fix (2021-06-30) 3 commits
- merge-recursive: handle rename-to-self case
- merge-ort: ensure we consult df_conflict and path_conflicts
- t6423: test directory renames causing rename-to-self
* ew/many-alternate-optim (2021-06-29) 5 commits
- oidtree: a crit-bit tree for odb_loose_cache
- oidcpy_with_padding: constify `src' arg
- make object_directory.loose_objects_subdir_seen a bitmap
- avoid strlen via strbuf_addstr in link_alt_odb_entry
- speed up alt_odb_usable() with many alternates
* jk/log-decorate-optim (2021-06-28) 6 commits
- add_ref_decoration(): rename s/type/deco_type/
- load_ref_decorations(): avoid parsing non-tag objects
- object.h: add lookup_object_by_type() function
- object.h: expand docstring for lookup_unknown_object()
- log: avoid loading decorations for userformats that don't need it
- pretty.h: update and expand docstring for userformat_find_requirements()
* js/ci-windows-update (2021-06-28) 6 commits
- ci: accelerate the checkout
- ci(vs-build): build with NO_GETTEXT
- ci(windows): transfer also the Git-tracked files to the test jobs
- ci: upgrade to using actions/{up,down}load-artifacts v2
- ci (vs-build): use `cmd` to copy the DLLs, not `powershell`
- ci: use the new GitHub Action to download git-sdk-64-minimal
* js/config-mak-windows-pcre-fix (2021-06-28) 1 commit
- config.mak.uname: PCRE1 cleanup
* js/gfw-system-config-loc-fix (2021-06-28) 3 commits
- config: normalize the path of the system gitconfig
- cmake(windows): set correct path to the system Git config
- mingw: move Git for Windows' system config where users expect it
* jt/push-negotiation-fixes (2021-06-28) 3 commits
- fetch: die on invalid --negotiation-tip hash
- send-pack: fix push nego. when remote has refs
- send-pack: fix push.negotiate with remote helper
* ks/submodule-cleanup (2021-06-28) 1 commit
- submodule: remove unnecessary `prefix` based option logic
* rs/grep-parser-fix (2021-06-30) 1 commit
- grep: report missing left operand of --and
* tb/midx-use-checksum (2021-06-28) 4 commits
- midx: report checksum mismatches during 'verify'
- midx: don't reuse corrupt MIDXs when writing
- commit-graph: rewrite to use checksum_valid()
- csum-file: introduce checksum_valid()
* ab/bundle-updates (2021-06-30) 3 commits
- bundle: remove "ref_list" in favor of string-list.c API
- bundle.c: use a temporary variable for OIDs and names
- bundle cmd: stop leaking memory from parse_options_cmd_bundle()
* ab/fetch-negotiate-segv-fix (2021-06-30) 3 commits
- fetch: fix segfault in --negotiate-only without --negotiation-tip=*
- fetch: document the --negotiate-only option
- send-pack.c: move "no refs in common" abort earlier
* ab/make-delete-on-error (2021-06-29) 1 commit
- Makefile: add and use the ".DELETE_ON_ERROR" flag
* ab/make-tags-cleanup (2021-06-29) 5 commits
- Makefile: normalize clobbering & xargs for tags targets
- Makefile: don't use "FORCE" for tags targets
- Makefile: fix "cscope" target to refer to cscope.out
- Makefile: add QUIET_GEN to "cscope" target
- Makefile: move ".PHONY: cscope" near its target
* ew/mmap-failures (2021-06-29) 1 commit
- xmmap: inform Linux users of tuning knobs on ENOMEM
--------------------------------------------------
[Stalled]
@@ -218,29 +302,62 @@ Release tarballs are available at:
Waiting for reviews.
--------------------------------------------------
[Cooking]
* ds/status-with-sparse-index (2021-05-22) 14 commits
* tb/multi-pack-bitmaps (2021-06-28) 24 commits
- p5326: perf tests for MIDX bitmaps
- p5310: extract full and partial bitmap tests
- midx: respect 'GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP'
- t7700: update to work with MIDX bitmap test knob
- t5319: don't write MIDX bitmaps in t5319
- t5310: disable GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP
- t0410: disable GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP
- t5326: test multi-pack bitmap behavior
- t/helper/test-read-midx.c: add --checksum mode
- t5310: move some tests to lib-bitmap.sh
- pack-bitmap: write multi-pack bitmaps
- pack-bitmap: read multi-pack bitmaps
- pack-bitmap.c: introduce 'bitmap_is_preferred_refname()'
- pack-bitmap.c: introduce 'nth_bitmap_object_oid()'
- pack-bitmap.c: introduce 'bitmap_num_objects()'
- midx: infer preferred pack when not given one
- midx: respect 'core.multiPackIndex' when writing
- midx: clear auxiliary .rev after replacing the MIDX
- midx: make a number of functions non-static
- Documentation: describe MIDX-based bitmaps
- Documentation: build 'technical/bitmap-format' by default
- pack-bitmap-write.c: free existing bitmaps
- pack-bitmap-write.c: gracefully fail to write non-closed bitmaps
- pack-bitmap.c: harden 'test_bitmap_walk()' to check type bitmaps
The reachability bitmap file used to be generated only for a single
pack, but now we've learned to generate bitmaps for history that
span across multiple packfiles.
* ds/status-with-sparse-index (2021-06-28) 16 commits
- fsmonitor: integrate with sparse index
- wt-status: expand added sparse directory entries
- status: use sparse-index throughout
- status: skip sparse-checkout percentage with sparse-index
- diff-lib: handle index diffs with sparse dirs
- dir.c: accept a directory as part of cone-mode patterns
- unpack-trees: be careful around sparse directory entries
- unpack-trees: handle dir/file conflict of sparse entries
- unpack-trees: unpack sparse directory entries
- unpack-trees: rename unpack_nondirectories()
- unpack-trees: compare sparse directories correctly
- unpack-trees: preserve cache_bottom
- t1092: add tests for status/add and sparse files
- t1092: expand repository data shape
- t1092: replace incorrect 'echo' with 'cat'
- sparse-index: include EXTENDED flag when expanding
- sparse-index: skip indexes with unmerged entries
- Merge branch 'mt/add-rm-in-sparse-checkout' into ds/status-with-sparse-index
- Merge branch 'ds/sparse-index-protections' into ds/status-with-sparse-index
(this branch is used by ds/commit-and-checkout-with-sparse-index.)
"git status" codepath learned to work with sparsely populated index
without hydrating it fully.
Expecting a reroll.
cf. <2784d29b-b22a-2bf6-2450-7b4a0a72df54@gmail.com>
* ab/describe-tests-fix (2021-05-11) 5 commits
- describe tests: support -C in "check_describe"
@@ -283,8 +400,117 @@ Release tarballs are available at:
Will merge to 'next'.
--------------------------------------------------
[Cooking]
* ab/config-based-hooks-base (2021-06-29) 33 commits
- hooks: fix a TOCTOU in "did we run a hook?" heuristic
- receive-pack: convert receive hooks to hook.h
- post-update: use hook.h library
- receive-pack: convert 'update' hook to hook.h
- hooks: allow callers to capture output
- run-command: allow capturing of collated output
- reference-transaction: use hook.h to run hooks
- transport: convert pre-push hook to use config
- hook: convert 'post-rewrite' hook in sequencer.c to hook.h
- hook: provide stdin by string_list or callback
- run-command: add stdin callback for parallelization
- am: convert 'post-rewrite' hook to hook.h
- hook: support passing stdin to hooks
- run-command: allow stdin for run_processes_parallel
- run-command: remove old run_hook_{le,ve}() hook API
- receive-pack: convert push-to-checkout hook to hook.h
- read-cache: convert post-index-change hook to use config
- commit: use hook.h to execute hooks
- git-p4: use 'git hook' to run hooks
- send-email: use 'git hook run' for 'sendemail-validate'
- git hook run: add an --ignore-missing flag
- merge: use config-based hooks for post-merge hook
- hooks: convert 'post-checkout' hook to hook library
- am: convert applypatch hooks to use config
- rebase: teach pre-rebase to use hook.h
- gc: use hook library for pre-auto-gc hook
- hook: add 'run' subcommand
- hook-list.h: add a generated list of hooks, like config-list.h
- hook.c: add a hook_exists() wrapper and use it in bugreport.c
- hook.[ch]: move find_hook() to this new library
- Makefile: remove an out-of-date comment
- Makefile: stop hardcoding {command,config}-list.h
- Makefile: mark "check" target as .PHONY
Restructuring of (a subset of) Emily's config-based-hooks series,
to demonstrate that a series can be presented as a more logical and
focused progression.
Waiting for reviews.
* ab/config-hooks-path-testfix (2021-06-16) 1 commit
- pre-commit hook tests: don't leave "actual" nonexisting on failure
Test fix.
Will merge to 'next'.
* ab/doc-retire-alice-bob (2021-06-16) 6 commits
- pack-protocol doc: use "www-data" in place of "alice"
- doc: replace "alice" and "bob" with "jdoe" and "msmith"
- fast-import doc: change "bob" in an example to "file.txt"
- daemon doc + code comments: reword "alice" example
- gitcvs-migration doc: replace "alice" and "bob" with "you" and "www-data"
- gittutorial doc: replace "alice" and "bob" with "you" and "www-data"
* ab/pre-auto-gc-hook-test (2021-06-16) 1 commit
- gc tests: add a test for the "pre-auto-gc" hook
Test fix.
Will merge to 'next'.
* jv/userdiff-csharp-update (2021-06-16) 1 commit
- userdiff: add support for C# record types
The userdiff pattern for C# learned the token "record".
Will merge to 'next'.
* en/ort-perf-batch-13 (2021-06-28) 5 commits
- merge-ort: add prefetching for content merges
- diffcore-rename: use a different prefetch for basename comparisons
- diffcore-rename: allow different missing_object_cb functions
- t6421: add tests checking for excessive object downloads during merge
- promisor-remote: output trace2 statistics for number of objects fetched
Performance tweaks of "git merge -sort" around lazy fetching of objects.
* ab/serve-cleanup (2021-06-28) 8 commits
- upload-pack.c: convert to new serve.c "startup" config cb
- serve: add support for a "startup" git_config() callback
- serve.c: add trace2 regions for advertise & command
- serve.c: add call_{advertise,command}() indirection
- serve: use designated initializers
- transport: use designated initializers
- transport: rename "fetch" in transport_vtable to "fetch_refs"
- serve: mark has_capability() as static
Code clean-up around "git serve".
* js/stop-exporting-bogus-columns (2021-06-28) 1 commit
- pager: avoid setting COLUMNS when we're guessing its value
When we cannot figure out how wide the terminal is, we use a
fallback value of 80 ourselves (which cannot be avoided), but when
we run the pager, we export it in COLUMNS, which forces the pager
to use the hardcoded value, even when the pager is perfectly
capable to figure it out itself. Stop exporting COLUMNS when we
fall back on the hardcoded default value for our own use.
Will merge to 'next'.
* ah/uninitialized-reads-fix (2021-06-15) 3 commits
- builtin/checkout--worker: zero-initialise struct to avoid MSAN complaints
@@ -340,7 +566,7 @@ Release tarballs are available at:
Will merge to 'next'.
* jt/partial-clone-submodule-1 (2021-06-11) 5 commits
* jt/partial-clone-submodule-1 (2021-06-28) 5 commits
- promisor-remote: teach lazy-fetch in any repo
- run-command: refactor subprocess env preparation
- submodule: refrain from filtering GIT_CONFIG_COUNT
@@ -353,7 +579,7 @@ Release tarballs are available at:
Waiting for reviews.
* ab/mktag-tests (2021-06-15) 6 commits
* ab/mktag-tests (2021-06-28) 6 commits
- mktag tests: test fast-export
- mktag tests: test for-each-ref
- mktag tests: test update-ref and reachable fsck
@@ -363,21 +589,15 @@ Release tarballs are available at:
Fill test gaps.
Expecting a reroll.
cf. <87czsnyyt8.fsf@evledraar.gmail.com>
* ab/show-branch-tests (2021-06-15) 4 commits
* ab/show-branch-tests (2021-06-28) 4 commits
- show-branch tests: add missing tests
- show-branch: fix and test --color output
- show-branch: don't <COLOR></RESET> for space characters
- show-branch tests: modernize test code
- show-branch tests: rename the one "show-branch" test file
Fill test gaps.
Waiting for review discussion to settle.
cf. <162374905722.40525.516266574605586007.git@grubix.eu>
* ah/graph-typofix (2021-06-15) 1 commit
- graph: improve grammar of "invalid color" error message
@@ -400,7 +620,7 @@ Release tarballs are available at:
Waiting for reviews.
* fc/pull-cleanups (2021-06-15) 3 commits
* fc/pull-cleanups (2021-06-19) 3 commits
- pull: trivial whitespace style fix
- pull: trivial cleanup
- pull: cleanup autostash check
@@ -418,12 +638,14 @@ Release tarballs are available at:
Will merge to 'next'.
* jx/t6020-with-older-bash (2021-06-14) 1 commit
- t6020: fix bash incompatible issue
* jx/t6020-with-older-bash (2021-06-17) 1 commit
- t6020: fix incompatible parameter expansion
Work around inefficient glob substitution in older versions of bash
by rewriting parts of a test.
Will merge to 'next'.
* en/zdiff3 (2021-06-15) 2 commits
- update documentation for new zdiff3 conflictStyle
@@ -545,16 +767,14 @@ Release tarballs are available at:
Will merge to 'next'.
* ab/pack-objects-stdin (2021-06-09) 4 commits
* ab/pack-objects-stdin (2021-06-28) 4 commits
- pack-objects.c: make use of REV_INFO_STDIN_LINE_PROCESS
- pack-objects.c: do stdin parsing via revision.c's API
- revision.h: unify "disable_stdin" and "read_from_stdin"
- revision.h: refactor "disable_stdin" and "read_from_stdin"
- upload-pack: run is_repository_shallow() before setup_revisions()
Code clean-up.
Waiting for reviews.
* ar/doc-libera-chat-in-my-first-contrib (2021-06-09) 1 commit
- MyFirstContribution: link #git-devel to Libera Chat
@@ -781,14 +1001,20 @@ Release tarballs are available at:
Will merge to 'next'.
* zh/ref-filter-raw-data (2021-06-16) 9 commits
* zh/ref-filter-raw-data (2021-06-28) 15 commits
. ref-filter: remove grab_oid() function
. cat-file: re-implement --textconv, --filters options
. cat-file: reuse err buf in batch_objet_write()
. cat-file: reuse err buf in batch_object_write()
. cat-file: reuse ref-filter logic
. ref-filter: introduce free_array_item_internal() function
. ref-filter: teach get_object() return useful value
. cat-file: change batch_objects parameter name
. cat-file: add has_object_file() check
. ref-filter: modify the error message and value in get_object
. ref-filter: add cat_file_mode in struct ref_format
. ref-filter: introduce free_ref_array_item_value() function
. ref-filter: pass get_object() return value to their callers
. ref-filter: add %(rest) atom
. ref-filter: use non-const ref_format in *_atom_parser()
. ref-filter: --format=%(raw) re-support --perl
. ref-filter: add %(raw) atom
. ref-filter: add obj-type check in grab contents
@@ -867,40 +1093,32 @@ Release tarballs are available at:
Will merge to 'next'.
* bc/doc-asciidoctor-to-man-wo-xmlto (2021-05-14) 2 commits
- doc: remove GNU_ROFF option
- doc: add an option to have Asciidoctor build man pages directly
An option to render the manual pages via AsciiDoctor bypassing
xmlto has been introduced.
What is the status of this one?
* ab/fsck-unexpected-type (2021-05-21) 17 commits
. fsck: report invalid object type-path combinations
. fsck: report invalid types recorded in objects
. object-store.h: move read_loose_object() below 'struct object_info'
. fsck: don't hard die on invalid object types
. object-file.c: return -1, not "status" from unpack_loose_header()
. object-file.c: return -2 on "header too long" in unpack_loose_header()
. object-file.c: stop dying in parse_loose_header()
. object-file.c: add missing braces to loose_object_info()
. object-file.c: make parse_loose_header_extended() public
. cache.h: move object functions to object-store.h
. cat-file tests: test for current --allow-unknown-type behavior
. cat-file tests: add corrupt loose object test
. rev-list tests: test for behavior with invalid object types
. cat-file tests: test that --allow-unknown-type isn't on by default
. cat-file tests: test for missing object with -t and -s
. fsck tests: add test for fsck-ing an unknown type
. fsck tests: refactor one test to use a sub-repo
* ab/fsck-unexpected-type (2021-06-28) 21 commits
- fsck: report invalid object type-path combinations
- fsck: report invalid types recorded in objects
- object-store.h: move read_loose_object() below 'struct object_info'
- fsck: don't hard die on invalid object types
- object-file.c: return -2 on "header too long" in unpack_loose_header()
- object-file.c: return -1, not "status" from unpack_loose_header()
- object-file.c: guard against future bugs in loose_object_info()
- object-file.c: stop dying in parse_loose_header()
- object-file.c: split up ternary in parse_loose_header()
- object-file.c: simplify unpack_loose_short_header()
- object-file.c: add missing braces to loose_object_info()
- object-file.c: make parse_loose_header_extended() public
- object-file.c: don't set "typep" when returning non-zero
- cache.h: move object functions to object-store.h
- cat-file tests: test for current --allow-unknown-type behavior
- cat-file tests: add corrupt loose object test
- rev-list tests: test for behavior with invalid object types
- cat-file tests: test that --allow-unknown-type isn't on by default
- cat-file tests: test for missing object with -t and -s
- fsck tests: add test for fsck-ing an unknown type
- fsck tests: refactor one test to use a sub-repo
"git fsck" has been taught to report mismatch between expected and
actual types of an object better.
Seems to break tests when merged to 'seen'.
--------------------------------------------------
[Will Discard]
@@ -972,41 +1190,6 @@ Release tarballs are available at:
cf. <xmqqa6pca0pv.fsf@gitster.g>, <xmqq1rao9zev.fsf@gitster.g>
* tb/multi-pack-bitmaps (2021-04-10) 23 commits
. p5326: perf tests for MIDX bitmaps
. p5310: extract full and partial bitmap tests
. midx: respect 'GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP'
. t7700: update to work with MIDX bitmap test knob
. t5319: don't write MIDX bitmaps in t5319
. t5310: disable GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP
. t5326: test multi-pack bitmap behavior
. t/helper/test-read-midx.c: add --checksum mode
. t5310: move some tests to lib-bitmap.sh
. pack-bitmap: write multi-pack bitmaps
. pack-bitmap: read multi-pack bitmaps
. pack-bitmap.c: introduce 'bitmap_is_preferred_refname()'
. pack-bitmap.c: introduce 'nth_bitmap_object_oid()'
. pack-bitmap.c: introduce 'bitmap_num_objects()'
. midx: respect 'core.multiPackIndex' when writing
. midx: clear auxiliary .rev after replacing the MIDX
. midx: make a number of functions non-static
. Documentation: describe MIDX-based bitmaps
. Documentation: build 'technical/bitmap-format' by default
. pack-bitmap-write.c: free existing bitmaps
. pack-bitmap-write.c: gracefully fail to write non-closed bitmaps
. pack-bitmap.c: harden 'test_bitmap_walk()' to check type bitmaps
. Merge branch 'tb/pack-preferred-tips-to-give-bitmap' into tb/multi-pack-bitmaps
The reachability bitmap file used to be generated only for a single
pack, but now we've learned to generate bitmaps for history that
span across multiple packfiles.
Will discard.
We had to wait for a reroll for too long.
cf. <cover.1617991824.git.me@ttaylorr.com>
Seems to break tests when merged to 'seen'.
* fc/neuter-doc (2021-06-14) 2 commits
. comments: avoid using the gender of our users
. doc: avoid using the gender of other people
@@ -1016,7 +1199,7 @@ Release tarballs are available at:
This seems to give more readable result than Stolee's "use singular
they" topic.
Now will be part of the ds/gender-neutral-doc topic.
Now is a part of the ds/gender-neutral-doc topic.
* es/config-based-hooks (2021-05-27) 37 commits
@@ -1062,3 +1245,11 @@ Release tarballs are available at:
Tentatively kicked out to give ab/config-based-hooks-base a chance
to interact with other topics in flight.
* bc/doc-asciidoctor-to-man-wo-xmlto (2021-05-14) 2 commits
. doc: remove GNU_ROFF option
. doc: add an option to have Asciidoctor build man pages directly
An option to render the manual pages via AsciiDoctor bypassing
xmlto has been introduced.