What's cooking in git.git (Nov 2022, #01; Thu, 3)
Here are the topics that have been cooking in my tree. Commits prefixed with '+' are in 'next' (being in 'next' is a sign that a topic is stable enough to be used and are candidate to be in a future release). Commits prefixed with '-' are only in 'seen', and aren't considered "accepted" at all. A topic without enough support may be discarded after a long period of no activity.
A large-ish handful of topics are awaiting review. I'll continue to hold those topics in 'seen' until they have enough attention to feel comfortable merging them down.
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 repositories have only a subset of branches.
With maint, master, next, seen, todo:
https://github.com/git/git/
The following mirrors are currently out-of-date while the usual maintainer is offline.
git://git.kernel.org/pub/scm/git/git.git/ git://repo.or.cz/alt-git.git/ https://kernel.googlesource.com/pub/scm/git/git/ https://gitlab.com/git-vcs/git/
With all the integration branches and topics broken out:
https://github.com/ttaylorr/git/
Even though the preformatted documentation in HTML and man format are not sources, they are typically published in these repositories for convenience (replace "htmldocs" with "manpages" for the manual
pages):
git://git.kernel.org/pub/scm/git/git-htmldocs.git/
https://github.com/gitster/git-htmldocs.git/
...but these and the release tarballs below are similarly out-of-date:
https://www.kernel.org/pub/software/scm/git/
--------------------------------------------------
[New Topics]
* ab/submodule-helper-prep-only (2022-11-02) 8 commits
- submodule--helper: use OPT_SUBCOMMAND() API
- submodule--helper: drop "update --prefix <pfx>" for "-C <pfx> update"
- submodule--helper: remove --prefix from "absorbgitdirs"
- submodule API & "absorbgitdirs": remove "----recursive" option
- submodule.c: refactor recursive block out of absorb function
- submodule tests: test for a "foreach" blind-spot
- submodule tests: add tests for top-level flag output
- submodule--helper: move "config" to a test-tool
Preparation to remove git-submodule.sh and replace it with a builtin.
Waiting for review?
source: <[email protected]>
* ds/bundle-uri-4 (2022-10-31) 9 commits
- clone: unbundle the advertised bundles
- bundle-uri: download bundles from an advertised list
- bundle-uri: allow relative URLs in bundle lists
- strbuf: reintroduce strbuf_parent_directory()
- bundle-uri client: add boolean transfer.bundleURI setting
- bundle-uri: serve bundle.* keys from config
- bundle-uri client: add helper for testing server
- bundle-uri client: add minimal NOOP client
- protocol v2: add server-side "bundle-uri" skeleton
Bundle URIs part 4.
source: <[email protected]>
* jk/ref-filter-parsing-bugs (2022-11-02) 2 commits (merged to 'next' on 2022-11-03 at 92c1a50548)
+ ref-filter: fix parsing of signatures with CRLF and no body
+ ref-filter: fix parsing of signatures without blank lines
Various tests exercising the transfer.credentialsInUrl configuration are taught to avoid making requests which require resolving localhost to reduce CI-flakiness.
Will merge to 'master'.
source: <[email protected]>
* ma/drop-redundant-diagnostic (2022-10-31) 1 commit (merged to 'next' on 2022-11-03 at 196c5a337b)
+ test-lib-functions: drop redundant diagnostic print
A redundant diagnostic message is dropped from test_path_is_missing().
Will merge to 'master'.
source: <[email protected]>
* sg/plug-line-log-leaks (2022-11-02) 3 commits
- diff.c: use diff_free_queue()
- line-log: free the diff queues' arrays when processing merge commits
- line-log: free diff queue when processing non-merge commits
A handful of leaks in the line-log machinery have been plugged.
Expecting a reroll.
source: <[email protected]>
* tb/branch-delete-detached (2022-11-01) 1 commit
- branch: gracefully handle '-d' on detached HEAD
'git branch -d' is taught to ignore failures to resolve HEAD when detached.
Expecting a reroll.
source: <c68f4b140f2495a35c5f30bec4e2e56c246160f4.1667334672.git.me@ttaylorr.com>
* tb/howto-maintain-git-fixes (2022-10-31) 2 commits
- Documentation: build redo-seen.sh from jch..seen
- Documentation: build redo-jch.sh from master..jch (this branch uses tb/howto-using-redo-script.)
A pair of bugfixes to the Documentation/howto/maintain-git.txt guide.
Will merge to 'next'.
source: <[email protected]>
* tl/pack-bitmap-absolute-paths (2022-11-02) 1 commit
- pack-bitmap.c: avoid exposing absolute paths
The pack-bitmap machinery is taught to log the paths of redundant bitmap(s) to trace2 instead of stderr.
Expecting a reroll.
source: <87a494e5ac0cc992689944ab13600d097c51e54a.1667393419.git.dyroneteng@gmail.com>
--------------------------------------------------
[Stalled]
* cw/submodule-status-in-parallel (2022-10-20) 7 commits
. diff-lib: parallelize run_diff_files for submodules
. diff-lib: refactor match_stat_with_submodule
. submodule: move status parsing into function
. submodule: strbuf variable rename
. run-command: add hide_output to run_processes_parallel_opts
. run-command: add pipe_output_fn to run_processes_parallel_opts . Merge branch 'ab/run-hook-api-cleanup' into cw/submodule-status-in-parallel
Allow the internal "diff-files" engine to run "how has this submodule changed?" in parallel to speed up "git status".
Breaks winVS test?
cf. <https://github.com/git/git/actions/runs/3298596454/jobs/5441029092>
source: <[email protected]>
* js/bisect-in-c (2022-08-30) 17 commits
. bisect: no longer try to clean up left-over .git/head-name files . bisect: remove Cogito-related code
. Turn git bisect into a full built-in
. bisect: move even the command-line parsing to bisect--helper . bisect--helper: make state optional
. bisect--helper: calling bisect_state() without an argument is a bug . bisect: avoid double-quoting when printing the failed command . bisect run: fix the error message
. bisect: verify that a bogus option won't try to start a bisection . bisect--helper: migrate to OPT_SUBCOMMAND()
. bisect--helper: make the order consistently argc, argv . bisect--helper: make terms an explicit singleton
. bisect--helper: simplify exit code computation
. bisect--helper: really retire --bisect-autostart
. bisect--helper: really retire --bisect-next-check
. bisect--helper: retire the --no-log option
. Merge branch 'sg/parse-options-subcommand' into js/bisect-in-c
Final bits of "git bisect.sh" have been rewritten in C.
Needs review.
cf. <[email protected]>
source: <[email protected]>
* od/ci-use-checkout-v3-when-applicable (2022-10-10) 2 commits . ci(main): linux32 uses actions/checkout@v2
. ci(main): upgrade actions/checkout to v3
Attempt to update GitHub CI to use actions/checkout@v3
Expecting a reroll.
Seems to break the CI completely.
source: <[email protected]>
* ed/fsmonitor-inotify (2022-10-14) 7 commits
. fsmonitor: update doc for Linux
. fsmonitor: test updates
. fsmonitor: enable fsmonitor for Linux
. fsmonitor: implement filesystem change listener for Linux
. fsmonitor: determine if filesystem is local or remote
. fsmonitor: prepare to share code between Mac OS and Linux
. Merge branch 'ed/fsmonitor-on-networked-macos' into ed/fsmonitor-inotify
Bundled fsmonitor for Linux using inotify API.
Needs review.
Occasional breakages of t7527.16?
source: <[email protected]>
* ag/merge-strategies-in-c (2022-08-10) 14 commits
. sequencer: use the "octopus" strategy without forking
. sequencer: use the "resolve" strategy without forking
. merge: use the "octopus" strategy without forking
. merge: use the "resolve" strategy without forking
. merge-octopus: rewrite in C
. merge-recursive: move better_branch_name() to merge.c
. merge-resolve: rewrite in C
. merge-one-file: rewrite in C
. update-index: move add_cacheinfo() to read-cache.c
. merge-index: add a new way to invoke `git-merge-one-file'
. merge-index: drop the index
. merge-index: libify merge_one_path() and merge_all()
. t6060: add tests for removed files
. t6060: modify multiple files to expose a possible issue with merge-index
An attempt to rewrite remaining merge strategies from shell to C.
Needs more work.
At the minimum, we should lose 11/14 and possibly 08/14. cf. <[email protected]>
source: <[email protected]>
* es/doc-creation-factor-fix (2022-07-28) 2 commits . range-diff: clarify --creation-factor=<factor> . format-patch: clarify --creation-factor=<factor>
Expecting a reroll by somebody more familiar with the logic cf. <[email protected]>
source: <[email protected]>
* cw/remote-object-info (2022-08-13) 7 commits . SQUASH???
. cat-file: add remote-object-info to batch-command . transport: add client support for object-info . serve: advertise object-info feature
. protocol-caps: initialization bug fix
. fetch-pack: move fetch initialization
. fetch-pack: refactor packet writing
A client component to talk with the object-info endpoint.
Expecting a reroll.
Under SANITIZE=address, t1006-cat-file.sh finds a breakage. cf. <[email protected]>
cf. <CAFySSZDvgwbbHCHfyuaqX3tKsr-GjJ9iihygg6rNNe46Ys7_EA@mail.gmail.com>
source: <[email protected]>
--------------------------------------------------
[Cooking]
* ab/cmake-nix-and-ci (2022-11-02) 12 commits
- CI: add a "linux-cmake-test" to run cmake & ctest on linux
- cmake: copy over git-p4.py for t983[56] perforce test
- cmake: support GIT_TEST_OPTS, abstract away WIN32 defaults
- Makefile + cmake: use environment, not GIT-BUILD-DIR
- test-lib.sh: support a "GIT_TEST_BUILD_DIR"
- cmake: set "USE_LIBPCRE2" in "GIT-BUILD-OPTIONS" for test-lib.sh
- cmake & test-lib.sh: add a $GIT_SOURCE_DIR variable
- cmake: chmod +x the bin-wrappers/* & SCRIPT_{SH,PERL} & git-p4
- cmake: don't copy chainlint.pl to build directory
- cmake: update instructions for portable CMakeLists.txt
- cmake: don't "mkdir -p" and "cd" in build instructions
- cmake: increase test timeout on Windows only
Fix assorted issues with CTest on *nix machines.
Waiting for review.
source: <[email protected]>
* ab/make-bin-wrappers (2022-10-31) 4 commits
- Makefile: simplify $(test_bindir_programs) rule by splitting it up
- Makefile: rename "test_bindir_programs" variable, pre-declare
- Makefile: define "TEST_{PROGRAM,OBJS}" variables earlier
- Makefile: factor sed-powered '#!/bin/sh' munging into a variable
Resolve issues with the bin-wrappers/% rules where "make bin-wrappers/git" would generate the script but not "git" itself.
Waiting for review.
source: <[email protected]>
* ab/misc-hook-submodule-run-command (2022-10-31) 3 commits (merged to 'next' on 2022-11-03 at 0f01b25561)
+ run-command tests: test stdout of run_command_parallel()
+ submodule tests: reset "trace.out" between "grep" invocations
+ hook tests: fix redirection logic error in 96e7225b310
Various test updates.
Waiting for review.
source: <[email protected]>
* do/modernize-t7001 (2022-10-31) 1 commit
- t7001-mv.sh:modernizing test script using function
Modernize test script to avoid "test -f" and friends.
Will merge to 'next'.
source: <[email protected]>
* kz/merge-tree-merge-base (2022-11-01) 2 commits
- merge-tree.c: support --merge-base in conjunction with --stdin
- merge-tree.c: add --merge-base=<commit> option
"merge-tree" learns a new --merge-base option.
Waiting for review.
source: <[email protected]>
* mh/password-can-be-pat (2022-11-02) 1 commit
- Mention that password could be a personal access token.
Documentation update to git-credential(1).
Will merge to 'next'.
source: <[email protected]>
* po/pretty-hard-trunc (2022-11-02) 1 commit
- pretty-formats: add hard truncation, without ellipsis, options
Add a new pretty format which truncates without ellipsis.
Missing test coverage.
source: <[email protected]>
* rr/long-status-advice (2022-10-31) 1 commit
- status: long status advice adapted to recent capabilities
The advice message emitted by a slow "status" run is amended to mention fsmonitor.
Waiting for reviewer feedback on the updated round.
source: <[email protected]>
* rs/archive-filter-error-once (2022-10-30) 1 commit (merged to 'next' on 2022-11-03 at c2d1004d96)
+ archive-tar: report filter start error only once
"git archive" mistakenly complained twice about a missing executable, which has been corrected.
Will merge to 'master'.
source: <[email protected]>
* ab/config-multi-and-nonbool (2022-11-02) 9 commits
- for-each-repo: with bad config, don't conflate <path> and <cmd>
- config API: add "string" version of *_value_multi(), fix segfaults
- config API users: test for *_get_value_multi() segfaults
- for-each-repo: error on bad --config
- config API: have *_multi() return an "int" and take a "dest"
- versioncmp.c: refactor config reading next commit
- config tests: add "NULL" tests for *_get_value_multi()
- config tests: cover blind spots in git_die_config() tests
- for-each-repo tests: test bad --config keys
A mixed bag of config API updates.
Expecting a reroll.
cf. <[email protected]>
source: <[email protected]>
* ab/sha-makefile-doc (2022-10-26) 9 commits
- Makefile: discuss SHAttered in *_SHA{1,256} discussion
- Makefile: document default SHA-1 backend on OSX
- Makefile: document SHA-1 and SHA-256 default and selection order
- Makefile: document default SHA-256 backend
- Makefile: rephrase the discussion of *_SHA1 knobs
- Makefile: create and use sections for "define" flag listing
- Makefile: correct DC_SHA1 documentation
- INSTALL: remove discussion of SHA-1 backends
- Makefile: always (re)set DC_SHA1 on fallback
Makefile comments updates and reordering to clarify knobs used to choose SHA implementations.
Will merge to 'next'?
source: <[email protected]>
* rs/no-more-run-command-v (2022-10-30) 12 commits (merged to 'next' on 2022-11-03 at 27eb80811c)
+ replace and remove run_command_v_opt()
+ replace and remove run_command_v_opt_cd_env_tr2()
+ replace and remove run_command_v_opt_tr2()
+ replace and remove run_command_v_opt_cd_env()
+ use child_process members "args" and "env" directly
+ use child_process member "args" instead of string array variable
+ sequencer: simplify building argument list in do_exec()
+ bisect--helper: factor out do_bisect_run()
+ bisect: simplify building "checkout" argument list
+ am: simplify building "show" argument list
+ run-command: fix return value comment
+ merge: remove always-the-same "verbose" arguments
Simplify the run-command API.
Will merge to 'master'.
source: <[email protected]>
* tb/howto-using-redo-script (2022-10-26) 1 commit
(merged to 'next' on 2022-11-03 at 521600fd56)
+ Documentation/howto/maintain-git.txt: fix Meta/redo-jch.sh invocation (this branch is used by tb/howto-maintain-git-fixes.)
Doc update.
Will merge to 'master'.
source: <4ba057094ae6b1bd5c18583f23f7f99232034c72.1666815325.git.me@ttaylorr.com>
* ps/receive-use-only-advertised (2022-10-28) 3 commits
- SQUASH - leakfix
- receive-pack: use advertised reference tips to inform connectivity check
- connected: allow supplying different view of reachable objects
"git receive-pack" used to use all the local refs as the boundary for checking connectivity of the data "git push" sent, but now it uses only the refs that it advertised to the pusher. In a repository with the .hideRefs configuration, this reduces the resource needed to perform the check, and also forces the pusher to prove they have all objects that are necessary to complete the history on top of only the history available to them.
Expecting a reroll.
cf. <[email protected]> cf. <[email protected]>
source: <[email protected]>
* jc/set-gid-bit-less-aggressively (2022-10-28) 1 commit (merged to 'next' on 2022-11-03 at 32bfd99ffd)
+ adjust_shared_perm(): leave g+s alone when the group does not matter
The adjust_shared_perm() helper function learned to refrain from setting the "g+s" bit on directories when it is not necessary.
Will merge to 'master'.
source: <[email protected]>
* gc/submodule-clone-update-with-branches (2022-10-30) 8 commits
- clone, submodule update: create and check out branches
- submodule--helper: remove update_data.suboid
- submodule update: refactor update targets
- submodule: return target of submodule symref
- t5617: drop references to remote-tracking branches
- submodule--helper clone: create named branch
- repo-settings: add submodule_propagate_branches
- clone: teach --detach option
"git clone --recurse-submodules" and "git submodule update" learns to honor the "propagete branches" option.
Waiting for review.
source: <[email protected]>
* es/mark-gc-cruft-as-experimental (2022-10-26) 2 commits (merged to 'next' on 2022-11-03 at 4079e1b06b)
+ config: let feature.experimental imply gc.cruftPacks=true
+ gc: add tests for --cruft and friends
Enable gc.cruftpacks by default for those who opt into feature.experimental setting.
Will merge to 'master'.
source: <[email protected]>
* pw/config-int-parse-fixes (2022-10-22) 3 commits . git_parse_signed(): avoid integer overflow
. config: require at least one digit when parsing numbers . git_parse_unsigned: reject negative values
Assorted fixes of parsing end-user input as integers.
Expecting a reroll to add test coverage.
cf. <[email protected]>
source: <[email protected]>
* sa/cat-file-mailmap (2022-10-21) 1 commit
. doc/cat-file: allow --use-mailmap for --batch options
Doc updates.
Waiting for review response.
source: <[email protected]>
* tb/repack-expire-to (2022-10-24) 4 commits
. builtin/repack.c: implement --expire-to for storing pruned objects . builtin/repack.c: write cruft packs to arbitrary locations . builtin/repack.c: pass "cruft_expiration" to write_cruft_pack . builtin/repack.c: pass "out" to prepare_pack_objects
"git repack" learns to send cruft objects out of the way into packfiles outside the repository.
Waiting for review.
source: <[email protected]>
* cc/filtered-repack (2022-10-25) 2 commits
. repack: add --filter=<filter-spec> option
. pack-objects: allow --filter without --stdout
"git repack" learns to discard objects that ought to be retrievable again from the promissor remote.
Needs review.
source: <[email protected]>
* al/trace2-clearing-skip-worktree (2022-10-31) 2 commits
- SQUASH???
- index: add trace2 region for clear skip worktree
Add trace2 counters to the region to clear skip worktree bits in a sparse checkout.
Expecting a reroll?
source: <[email protected]>
* po/glossary-around-traversal (2022-10-30) 4 commits (merged to 'next' on 2022-11-03 at 58b659f92b)
+ glossary: add reachability bitmap description
+ glossary: add "commit graph" description
+ doc: use 'object database' not ODB or abbreviation
+ doc: use "commit-graph" hyphenation consistently
The glossary entries for "commit-graph file" and "reachability bitmap" have been added.
Will merge to 'master'.
source: <[email protected]>
* mc/credential-helper-auth-headers (2022-11-02) 11 commits
- t5556: add HTTP authentication tests
- test-http-server: add simple authentication
- test-http-server: pass Git requests to http-backend
- test-http-server: add HTTP request parsing
- test-http-server: add HTTP error response function
- test-http-server: add stub HTTP server test helper
- http: set specific auth scheme depending on credential
- http: move proactive auth to first slot creation
- http: store all request headers on active_request_slot
- credential: add WWW-Authenticate header to cred requests
- http: read HTTP WWW-Authenticate response headers
Extending credential helper protocol.
Needs review.
source: <[email protected]>
* hl/archive-recursive (2022-10-19) 10 commits
. fixup! archive: add tests for git archive --recurse-submodules . archive: add tests for git archive --recurse-submodules . archive: add --recurse-submodules to git-archive command . archive: remove global repository from archive_args . archive: pass repo objects to write_archive handlers . tree: add repository parameter to read_tree_fn_t
. tree: handle submodule case for read_tree_at properly . tree: increase test coverage for tree.c
. tree: update cases to use repo_ tree methods
. tree: do not use the_repository for tree traversal methods.
"git archive" has been taught "--recurse-submodules" option to create a tarball that includes contents from submodules.
Expecting a reroll.
Seems to break win+VS test(8).
cf. https://github.com/git/git/actions/runs/3293333066 whose only difference from https://github.com/git/git/actions/runs/3293553109
is the inclusion of this topic.
source: <[email protected]>
* en/sparse-checkout-design (2022-10-08) 1 commit
. sparse-checkout.txt: new document with sparse-checkout directions
Design doc.
Needs review.
source: <[email protected]>
* pw/test-todo (2022-10-06) 3 commits
. test_todo: allow [verbose] test as the command
. test_todo: allow [!] grep as the command
. tests: add test_todo() to mark known breakages
RFC for test framework improvement.
Needs review.
source: <[email protected]>
* ab/coccicheck-incremental (2022-11-02) 13 commits
- spatchcache: add a ccache-alike for "spatch"
- cocci: run against a generated ALL.cocci
- cocci rules: remove <id>'s from rules that don't need them
- Makefile: copy contrib/coccinelle/*.cocci to build/
- cocci: optimistically use COMPUTE_HEADER_DEPENDENCIES
- cocci: make "coccicheck" rule incremental
- cocci: split off "--all-includes" from SPATCH_FLAGS
- cocci: split off include-less "tests" from SPATCH_FLAGS
- Makefile: split off SPATCH_BATCH_SIZE comment from "cocci" heading
- Makefile: have "coccicheck" re-run if flags change
- Makefile: add ability to TAB-complete cocci *.patch rules
- cocci rules: remove unused "F" metavariable from pending rule
- Makefile + shared.mak: rename and indent $(QUIET_SPATCH_T)
"make coccicheck" is time consuming. It has been made to run more incrementally.
Will merge to 'next'?
source: <[email protected]>
Quoted 8 lines · Taylor Blau
--------------------------------------------------
[Cooking]
* po/pretty-hard-trunc (2022-11-02) 1 commit
- pretty-formats: add hard truncation, without ellipsis, optionsAdd a new pretty format which truncates without ellipsis.
Missing test coverage.
Is that out of date? V3 did include tests in t4205 and t6006.
Quoted 1 line
source: <[email protected]>
This source is the V3.
Philip
Quoted 6 lines · Philip Oakley
Quoted 5 lines · Taylor Blau
--------------------------------------------------
[Cooking]
* po/pretty-hard-trunc (2022-11-02) 1 commit
- pretty-formats: add hard truncation, without ellipsis, options
Quoted 7 lines
Quoted 3 lines
Add a new pretty format which truncates without ellipsis.
Missing test coverage.
Is that out of date? V3 did include tests in t4205 and t6006.
Quoted 1 line
source: <[email protected]>
This source is the V3.
Yes, thanks for catching. Indeed, the version that I have at:
[email protected]:ttaylorr/git.git
on po/pretty-hard-trunc has the new tests. I think we are still waiting for review on that topic, though...
Thanks,
Taylor
Quoted 16 lines · Taylor Blau
Quoted 6 lines · Philip Oakley
Quoted 5 lines · Taylor Blau
--------------------------------------------------
[Cooking]
* po/pretty-hard-trunc (2022-11-02) 1 commit
- pretty-formats: add hard truncation, without ellipsis, optionsQuoted 7 lines
Quoted 3 lines
Add a new pretty format which truncates without ellipsis.
Missing test coverage.
Is that out of date? V3 did include tests in t4205 and t6006.
Quoted 1 line
source: <[email protected]>
This source is the V3.
Yes, thanks for catching. Indeed, the version that I have at:
Quoted 7 lines
[email protected]:ttaylorr/git.git
on po/pretty-hard-trunc has the new tests. I think we are still waiting for review on that topic, though...
Thanks,
Taylor
An extra review would be useful.
I wasn't certain about the use of qz_to_tab_space in the here-doc formulation of t6006-rev-list-format where some of the new tests now included trailing spaces (but others didn't).
Ta,
Philip
Quoted 22 lines · Philip Oakley
Quoted 21 lines · Taylor Blau
Quoted 6 lines · Philip Oakley
Quoted 5 lines · Taylor Blau
--------------------------------------------------
[Cooking]
* po/pretty-hard-trunc (2022-11-02) 1 commit
- pretty-formats: add hard truncation, without ellipsis, optionsQuoted 7 lines
Quoted 3 lines
Add a new pretty format which truncates without ellipsis.
Missing test coverage.
Is that out of date? V3 did include tests in t4205 and t6006.
Quoted 1 line
source: <[email protected]>
This source is the V3.
Yes, thanks for catching. Indeed, the version that I have at:
[email protected]:ttaylorr/git.git
on po/pretty-hard-trunc has the new tests. I think we are still waiting for review on that topic, though...
Quoted 7 lines
Quoted 2 lines
Thanks,
TaylorAn extra review would be useful.
I wasn't certain about the use of
qz_to_tab_spacein the here-doc formulation of t6006-rev-list-format where some of the new tests now included trailing spaces (but others didn't).
Let's wait for a little more review before we start merging this one down. I'll try and take a look if others don't beat me to it shortly.
Thanks,
Taylor
ab/config-multi-and-nonbool (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))
In reply to Taylor BlauQuoted 11 lines · Taylor Blau
* ab/config-multi-and-nonbool (2022-11-02) 9 commits
- for-each-repo: with bad config, don't conflate <path> and <cmd>
- config API: add "string" version of*_value_multi(), fix segfaults
- config API users: test for*_get_value_multi()segfaults
- for-each-repo: error on bad --config
- config API: have*_multi()return an "int" and take a "dest"
-versioncmp.c: refactor config reading next commit
- config tests: add "NULL" tests for*_get_value_multi()
- config tests: cover blind spots ingit_die_config()tests
- for-each-repo tests: test bad --config keys
Quoted 5 lines
A mixed bag of config API updates.
Expecting a reroll.
cf. <[email protected]>
source: <[email protected]>
The "mixed bag" part of this comes from Junio's v1 summary[1], which I think I addressed by narrowing the scope in the v2[2].
Per [3] it looks like you were going to try to find time to take a second look, *gentle poke* :)
1. https://lore.kernel.org/git/[email protected]/
2. https://lore.kernel.org/git/[email protected]/
3. https://lore.kernel.org/git/[email protected]/
ab/make-bin-wrappers (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))
In reply to Taylor BlauQuoted 11 lines · Taylor Blau
* ab/make-bin-wrappers (2022-10-31) 4 commits
-Makefile: simplify $(test_bindir_programs) rule by splitting it up
-Makefile: rename "test_bindir_programs" variable, pre-declare
-Makefile: define "TEST_{PROGRAM,OBJS}" variables earlier
-Makefile: factor sed-powered '#!/bin/sh' munging into a variableResolve issues with the bin-wrappers/% rules where "make bin-wrappers/git" would generate the script but not "git" itself.
Waiting for review.
source: <[email protected]>
On my end I'm waiting to see what you and/or Jeff think about:
https://lore.kernel.org/git/[email protected]/
I.e. i can certainly re-roll with a one-line fix, but don't see how it's useful to have a "make" target produce a wrapper that doesn't work.
Re: ab/make-bin-wrappers (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))
Quoted 9 lines · Ævar Arnfjörð Bjarmason
Quoted 6 lines · Taylor Blau
* ab/make-bin-wrappers (2022-10-31) 4 commits
-Makefile: simplify $(test_bindir_programs) rule by splitting it up
-Makefile: rename "test_bindir_programs" variable, pre-declare
-Makefile: define "TEST_{PROGRAM,OBJS}" variables earlier
-Makefile: factor sed-powered '#!/bin/sh' munging into a variable
Quoted 8 lines
Quoted 5 lines
Resolve issues with the bin-wrappers/% rules where "make bin-wrappers/git" would generate the script but not "git" itself.
Waiting for review.
source: <[email protected]>On my end I'm waiting to see what you and/or Jeff think about:
https://lore.kernel.org/git/[email protected]/
I don't have any strong opinion on that. I read the v2 cover letter, was skeptical/confused of the motivation, and didn't go much further.
Your explanation in the linked email is that there are _other_ reasons to do this refactoring, but I don't have any knowledge there that would add to the review. My gut is still that building bin-wrappers/foo doesn't need to depend on foo, but if it's one line, I don't care that much either way. If it was 50 lines of complicated Makefile refactoring, then would probably not be worth it.
-Peff
Re: ab/make-bin-wrappers (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))
Quoted 23 lines · Jeff King
Quoted 9 lines · Ævar Arnfjörð Bjarmason
Quoted 6 lines · Taylor Blau
* ab/make-bin-wrappers (2022-10-31) 4 commits
-Makefile: simplify $(test_bindir_programs) rule by splitting it up
-Makefile: rename "test_bindir_programs" variable, pre-declare
-Makefile: define "TEST_{PROGRAM,OBJS}" variables earlier
-Makefile: factor sed-powered '#!/bin/sh' munging into a variableQuoted 8 lines
Quoted 5 lines
Resolve issues with the bin-wrappers/% rules where "make bin-wrappers/git" would generate the script but not "git" itself.
Waiting for review.
source: <[email protected]>On my end I'm waiting to see what you and/or Jeff think about:
https://lore.kernel.org/git/[email protected]/I don't have any strong opinion on that. I read the v2 cover letter, was skeptical/confused of the motivation, and didn't go much further.
Quoted 6 lines
Your explanation in the linked email is that there are _other_ reasons to do this refactoring, but I don't have any knowledge there that would add to the review. My gut is still that building bin-wrappers/foo doesn't need to depend on foo, but if it's one line, I don't care that much either way. If it was 50 lines of complicated
Makefilerefactoring, then would probably not be worth it.
Isn't this topic exactly the latter? IOW:
$ git diff --stat master...ab/make-bin-wrappers
Makefile | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------
1 file changed, 52 insertions(+), 20 deletions(-)...maybe that was exactly your point ;-).
TBH, I am not sold whatsoever on the premise of that series, and agree that plodding through 50+ lines of complicated Makefile diff is difficult to justify when the premise is hazy to me.
Ævar, any strong objections against dropping this one? If there is a simpler way forward, I'm all ears, but in the meantime I find it difficult to justify the review time as-is.
Thanks,
Taylor
Re: ab/make-bin-wrappers (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))
Quoted 10 lines · Taylor Blau
Quoted 9 lines
I don't have any strong opinion on that. I read the v2 cover letter, was skeptical/confused of the motivation, and didn't go much further.
Your explanation in the linked email is that there are _other_ reasons to do this refactoring, but I don't have any knowledge there that would add to the review. My gut is still that building bin-wrappers/foo doesn't need to depend on foo, but if it's one line, I don't care that much either way. If it was 50 lines of complicated
Makefilerefactoring, then would probably not be worth it.
Quoted 7 lines
Isn't this topic exactly the latter? IOW:
$ git diff --stat master...ab/make-bin-wrappers Makefile | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 52 insertions(+), 20 deletions(-)...maybe that was exactly your point ;-).
Sorry, I perhaps could have made the last sentence more clear as:
If it was 50 lines of complicated Makefile refactoring _just_ to have "make bin-wrappers/foo" depend on "foo", it would not be worth it. But if it is doing something else, it might be. I don't have a strong opinion because I haven't (and don't want to have) looked into that "something else".
-Peff
ab/coccicheck-incremental (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))
In reply to Taylor BlauQuoted 15 lines · Taylor Blau
* ab/coccicheck-incremental (2022-11-02) 13 commits
- spatchcache: add a ccache-alike for "spatch"
- cocci: run against a generatedALL.cocci
- cocci rules: remove <id>'s from rules that don't need them
-Makefile: copy contrib/coccinelle/*.cocci to build/
- cocci: optimistically useCOMPUTE_HEADER_DEPENDENCIES
- cocci: make "coccicheck" rule incremental
- cocci: split off "--all-includes" fromSPATCH_FLAGS
- cocci: split off include-less "tests" fromSPATCH_FLAGS
-Makefile: split offSPATCH_BATCH_SIZEcomment from "cocci" heading
-Makefile: have "coccicheck" re-run if flags change
-Makefile: add ability to TAB-complete cocci *.patch rules
- cocci rules: remove unused "F" metavariable from pending rule
-Makefile+ shared.mak: rename and indent $(QUIET_SPATCH_T)
Quoted 5 lines
"make coccicheck" is time consuming. It has been made to run more incrementally.
Will merge to 'next'?
source: <[email protected]>
I think it's ready for that, the v5 having hopefully solved any last remaining nits / issues.
Re: ab/coccicheck-incremental (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))
Quoted 18 lines · Ævar Arnfjörð Bjarmason
Quoted 15 lines · Taylor Blau
* ab/coccicheck-incremental (2022-11-02) 13 commits
- spatchcache: add a ccache-alike for "spatch"
- cocci: run against a generatedALL.cocci
- cocci rules: remove <id>'s from rules that don't need them
-Makefile: copy contrib/coccinelle/*.cocci to build/
- cocci: optimistically useCOMPUTE_HEADER_DEPENDENCIES
- cocci: make "coccicheck" rule incremental
- cocci: split off "--all-includes" fromSPATCH_FLAGS
- cocci: split off include-less "tests" fromSPATCH_FLAGS
-Makefile: split offSPATCH_BATCH_SIZEcomment from "cocci" heading
-Makefile: have "coccicheck" re-run if flags change
-Makefile: add ability to TAB-complete cocci *.patch rules
- cocci rules: remove unused "F" metavariable from pending rule
-Makefile+ shared.mak: rename and indent $(QUIET_SPATCH_T)
Quoted 8 lines
Quoted 5 lines
"make coccicheck" is time consuming. It has been made to run more incrementally.
Will merge to 'next'?
source: <[email protected]>I think it's ready for that, the v5 having hopefully solved any last remaining nits / issues.
Yep, let's start merging this one down.
Thanks,
Taylor
ab/sha-makefile-doc (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))
In reply to Taylor BlauQuoted 11 lines · Taylor Blau
* ab/sha-makefile-doc (2022-10-26) 9 commits
-Makefile: discuss SHAttered in *_SHA{1,256} discussion
-Makefile: document default SHA-1 backend on OSX
-Makefile: document SHA-1 and SHA-256 default and selection order
-Makefile: document default SHA-256 backend
-Makefile: rephrase the discussion of*_SHA1knobs
-Makefile: create and use sections for "define" flag listing
-Makefile: correctDC_SHA1documentation
- INSTALL: remove discussion of SHA-1 backends
-Makefile: always (re)setDC_SHA1on fallback
Quoted 5 lines
Makefilecomments updates and reordering to clarify knobs used to choose SHA implementations.Will merge to 'next'?
source: <[email protected]>
There was one outstanding issue from Junio noted in the v4, I just sent a v5 in that should address that & more:
https://lore.kernel.org/git/[email protected]/
So hopefully with that it's ready for 'next'. I have a trivial patch queued after it to flip the default on OSX to use sha1collisiondetection.
ab/submodule-helper-prep-only (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))
In reply to Taylor BlauQuoted 10 lines · Taylor Blau
* ab/submodule-helper-prep-only (2022-11-02) 8 commits
- submodule--helper: useOPT_SUBCOMMAND()API
- submodule--helper: drop "update --prefix <pfx>" for "-C <pfx> update"
- submodule--helper: remove --prefix from "absorbgitdirs"
- submodule API & "absorbgitdirs": remove "----recursive" option
-submodule.c: refactor recursive block out of absorb function
- submodule tests: test for a "foreach" blind-spot
- submodule tests: add tests for top-level flag output
- submodule--helper: move "config" to a test-tool
Quoted 4 lines
Preparation to remove
git-submodule.shand replace it with a builtin.Waiting for review?
source: <[email protected]>
It was waiting on a small re-roll I just sent in:
https://lore.kernel.org/git/[email protected]/
Re: ab/submodule-helper-prep-only (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))
Quoted 13 lines · Ævar Arnfjörð Bjarmason
Quoted 10 lines · Taylor Blau
* ab/submodule-helper-prep-only (2022-11-02) 8 commits
- submodule--helper: useOPT_SUBCOMMAND()API
- submodule--helper: drop "update --prefix <pfx>" for "-C <pfx> update"
- submodule--helper: remove --prefix from "absorbgitdirs"
- submodule API & "absorbgitdirs": remove "----recursive" option
-submodule.c: refactor recursive block out of absorb function
- submodule tests: test for a "foreach" blind-spot
- submodule tests: add tests for top-level flag output
- submodule--helper: move "config" to a test-tool
Quoted 7 lines
Quoted 4 lines
Preparation to remove
git-submodule.shand replace it with a builtin.Waiting for review?
source: <[email protected]>It was waiting on a small re-roll I just sent in:
https://lore.kernel.org/git/[email protected]/
Thanks. I took the updated round and I think that this is ready to start merging down per Glen's review.
Thanks,
Taylor
ab/cmake-nix-and-ci (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))
In reply to Taylor BlauQuoted 14 lines · Taylor Blau
* ab/cmake-nix-and-ci (2022-11-02) 12 commits
- CI: add a "linux-cmake-test" to run cmake & ctest on linux
- cmake: copy overgit-p4.pyfor t983[56] perforce test
- cmake: supportGIT_TEST_OPTS, abstract away WIN32 defaults
-Makefile+ cmake: use environment, not GIT-BUILD-DIR
-test-lib.sh: support a "GIT_TEST_BUILD_DIR"
- cmake: set "USE_LIBPCRE2" in "GIT-BUILD-OPTIONS" fortest-lib.sh
- cmake &test-lib.sh: add a $GIT_SOURCE_DIR variable
- cmake: chmod +x the bin-wrappers/* & SCRIPT_{SH,PERL} & git-p4
- cmake: don't copy chainlint.pl to build directory
- cmake: update instructions for portable CMakeLists.txt
- cmake: don't "mkdir -p" and "cd" in build instructions
- cmake: increase test timeout on Windows only
Quoted 4 lines
Fix assorted issues with CTest on *nix machines.
Waiting for review.
source: <[email protected]>
I think the v4[1] you've since picked up should be ready, and I think addressed the outstanding comments, except as noted in "let's pursue that separately" in [2].
1. https://lore.kernel.org/git/[email protected]/
2. https://lore.kernel.org/git/[email protected]/
Re: ab/cmake-nix-and-ci (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))
Quoted 17 lines · Ævar Arnfjörð Bjarmason
Quoted 14 lines · Taylor Blau
* ab/cmake-nix-and-ci (2022-11-02) 12 commits
- CI: add a "linux-cmake-test" to run cmake & ctest on linux
- cmake: copy overgit-p4.pyfor t983[56] perforce test
- cmake: supportGIT_TEST_OPTS, abstract away WIN32 defaults
-Makefile+ cmake: use environment, not GIT-BUILD-DIR
-test-lib.sh: support a "GIT_TEST_BUILD_DIR"
- cmake: set "USE_LIBPCRE2" in "GIT-BUILD-OPTIONS" fortest-lib.sh
- cmake &test-lib.sh: add a $GIT_SOURCE_DIR variable
- cmake: chmod +x the bin-wrappers/* & SCRIPT_{SH,PERL} & git-p4
- cmake: don't copy chainlint.pl to build directory
- cmake: update instructions for portable CMakeLists.txt
- cmake: don't "mkdir -p" and "cd" in build instructions
- cmake: increase test timeout on Windows only
Quoted 8 lines
Quoted 4 lines
Fix assorted issues with CTest on *nix machines.
Waiting for review.
source: <[email protected]>I think the v4[1] you've since picked up should be ready, and I think addressed the outstanding comments, except as noted in "let's pursue that separately" in [2].
I think we need to wait for someone with windows experience to look at this as that is the primary use of the cmake build. Without that I think
patches 4(?), 5 and 7 are still could go forward as a separate series
but the rest of the patches including the documentation and test changes need to have buy-in from their primary audience.
Best Wishes
Phillip
ab/misc-hook-submodule-run-command (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))
In reply to Taylor BlauQuoted 10 lines · Taylor Blau
* ab/misc-hook-submodule-run-command (2022-10-31) 3 commits (merged to 'next' on 2022-11-03 at
0f01b25561)
+ run-command tests: test stdout ofrun_command_parallel()
+ submodule tests: reset "trace.out" between "grep" invocations
+ hook tests: fix redirection logic error in96e7225b310Various test updates.
Waiting for review.
source: <[email protected]>
Per [1] that's a stale comment, and you'd decided on a "let's merge this down".