Skip to contentSkip to conversation

What's cooking in git.git (Mar 2023, #04; Fri, 17)

DISCUSSION Junio C Hamano 1 participant 1 message Mar 17, 2023

lore
Share & tools
lore
#0 lore raw

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 and may be annotated with an URL to a message that raises issues but they are no means exhaustive. A topic without enough support may be discarded after a long period of no activity.

The first batch of topics are in 'master' for the next feature release, and the tip of 'maint' now points at Git 2.40.0 to start another maintenance track.

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:

	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://github.com/git/git/
	https://gitlab.com/git-vcs/git/

With all the integration branches and topics broken out:

https://github.com/gitster/git/

Even though the preformatted documentation in HTML and man format are not sources, they are 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/

Release tarballs are available at:

https://www.kernel.org/pub/software/scm/git/

--------------------------------------------------
[Graduated to 'master']

* en/dir-api-cleanup (2023-02-27) 13 commits
(merged to 'next' on 2023-02-27 at 434ac6b592)
+ unpack-trees: add usage notices around df_conflict_entry
+ unpack-trees: special case read-tree debugging as internal usage
+ unpack-trees: rewrap a few overlong lines from previous patch
+ unpack-trees: mark fields only used internally as internal
+ unpack_trees: start splitting internal fields from public API
+ sparse-checkout: avoid using internal API of unpack-trees, take 2
+ sparse-checkout: avoid using internal API of unpack-trees
+ unpack-trees: clean up some flow control
+ dir: mark output only fields of dir_struct as such
+ dir: add a usage note to exclude_per_dir
+ dir: separate public from internal portion of dir_struct
+ unpack-trees: heed requests to overwrite ignored files
+ t2021: fix platform-specific leftover cruft

Code clean-up to clarify directory traversal API.
source: <[email protected]>

* en/header-cleanup (2023-02-23) 17 commits
(merged to 'next' on 2023-02-27 at f4a3707530)
+ diff.h: remove unnecessary include of object.h
+ Remove unnecessary includes of builtin.h
+ treewide: replace cache.h with more direct headers, where possible
+ replace-object.h: move read_replace_refs declaration from cache.h to here
+ object-store.h: move struct object_info from cache.h
+ dir.h: refactor to no longer need to include cache.h
+ object.h: stop depending on cache.h; make cache.h depend on object.h
+ ident.h: move ident-related declarations out of cache.h
+ pretty.h: move has_non_ascii() declaration from commit.h
+ cache.h: remove dependence on hex.h; make other files include it explicitly
+ hex.h: move some hex-related declarations from cache.h
+ hash.h: move some oid-related declarations from cache.h
+ alloc.h: move ALLOC_GROW() functions from cache.h
+ treewide: remove unnecessary cache.h includes in source files
+ treewide: remove unnecessary cache.h includes
+ treewide: remove unnecessary git-compat-util.h includes in headers
+ treewide: ensure one of the appropriate headers is sourced first

Code clean-up to clarify the rule that "git-compat-util.h" must be the first to be included.
source: <[email protected]>

* ew/fetch-hiderefs (2023-02-27) 1 commit
(merged to 'next' on 2023-03-01 at 6a7eece733)
+ fetch: support hideRefs to speed up connectivity checks

A new "fetch.hideRefs" option can be used to exclude specified refs from "rev-list --objects --stdin --not --all" traversal for checking object connectivity, most useful when there are many unrelated histories in a single repository.
source: <20230212090426.M558990@dcvr>

* fz/rebase-msg-update (2023-02-27) 1 commit (merged to 'next' on 2023-03-01 at f28c0df111)
+ rebase: fix capitalisation autoSquash in i18n string

Message update.
source: <[email protected]>

* jc/gpg-lazy-init (2023-02-27) 2 commits
(merged to 'next' on 2023-02-27 at e3f81cfdbc)
+ drop pure pass-through config callbacks
+ gpg-interface: lazily initialize and read the configuration

Instead of forcing each command to choose to honor GPG related configuration variables, make the subsystem lazily initialize itself.
source: <[email protected]>

* jk/fsck-indices-in-worktrees (2023-02-27) 4 commits (merged to 'next' on 2023-02-27 at 6eb92abb6b)
+ fsck: check even zero-entry index files (merged to 'next' on 2023-02-24 at 38c0793286)
+ fsck: mention file path for index errors
+ fsck: check index files in all worktrees
+ fsck: factor out index fsck

"git fsck" learned to check the index files in other worktrees, just like "git gc" honors them as anchoring points.
source: <Y/[email protected]>

* jk/unused-post-2.39-part2 (2023-02-24) 21 commits (merged to 'next' on 2023-02-27 at f0ec2a81b3)
+ help: mark unused parameter in git_unknown_cmd_config()
+ run_processes_parallel: mark unused callback parameters
+ userformat_want_item(): mark unused parameter
+ for_each_commit_graft(): mark unused callback parameter
+ rewrite_parents(): mark unused callback parameter
+ fetch-pack: mark unused parameter in callback function
+ notes: mark unused callback parameters
+ prio-queue: mark unused parameters in comparison functions
+ for_each_object: mark unused callback parameters
+ list-objects: mark unused callback parameters
+ mark unused parameters in signal handlers
+ run-command: mark error routine parameters as unused
+ mark "pointless" data pointers in callbacks
+ ref-filter: mark unused callback parameters
+ http-backend: mark unused parameters in virtual functions
+ http-backend: mark argc/argv unused
+ object-name: mark unused parameters in disambiguate callbacks
+ serve: mark unused parameters in virtual functions
+ serve: use repository pointer to get config
+ ls-refs: drop config caching
+ ref-filter: drop unused atom parameter from get_worktree_path()

More work towards -Wunused.
source: <Y/habYJxDRJQg/[email protected]>

* mc/credential-helper-www-authenticate (2023-02-27) 3 commits (merged to 'next' on 2023-02-27 at 89c9bd4b8f)
+ credential: add WWW-Authenticate header to cred requests
+ http: read HTTP WWW-Authenticate response headers
+ t5563: add tests for basic and anoymous HTTP access

Allow information carried on the WWW-AUthenticate header to be passed to the credential helpers.
source: <[email protected]>

--------------------------------------------------
[New Topics]

* ar/test-cleanup-unused-file-creation (2023-03-13) 7 commits
- t1507: assert output of rev-parse
- t1404: don't create unused file
- t1400: assert output of update-ref
- t1302: don't create unused file
- t1010: assert empty output of mktree
- t1006: assert error output of cat-file
- t1005: assert output of ls-files

Test clean-up.

Needs Review.
source: <[email protected]>

* nw/for-each-ref-signature (2023-03-13) 1 commit
. ref-filter: add new "signature" atom

"git (for-each-ref|branch|tag) --format=<format>" learns the "%(signature)" placeholder and friends.

Breaks CI.
cf. <[email protected]>
source: <[email protected]>

* mh/credential-oauth-refresh-token (2023-03-14) 1 commit
- credential: new attribute oauth_refresh_token

The credential subsystem learns to help OAuth framework.

Needs Review.
source: <[email protected]>

* mh/credential-password-expiry-libsecret (2023-03-14) 1 commit
- credential/libsecret: support password_expiry_utc

The libsecret credential helper learns to handle the password expiry time information.

Needs Review.
source: <[email protected]>

* ps/fetch-ref-update-reporting (2023-03-15) 8 commits
- fetch: centralize printing of reference updates
- fetch: fix inconsistent summary width for pruned and updated refs
- fetch: deduplicate logic to print remote URL
- fetch: deduplicate handling of per-reference format
- fetch: pass the full local reference name to format_display
- fetch: move output format into display_state
- fetch: move reference width calculation into display_state
- fetch: rename display buffer to avoid name conflict

Clean-up of the code path that reports what "git fetch" did to each ref.

Will merge to 'next'??
source: <[email protected]>

* pw/rebase-cleanup-merge-strategy-option-handling (2023-03-15) 5 commits
- rebase: remove a couple of redundant strategy tests
- rebase -m: fix serialization of strategy options
- rebase -m: cleanup --strategy-option handling
- rebase: stop reading and writing unnecessary strategy state
- Merge branch 'ab/fix-strategy-opts-parsing'
(this branch uses ab/fix-strategy-opts-parsing.)

Clean-up of the code path that deals with merge strategy option handling in "git rebase".

Needs review.
source: <[email protected]>

* ab/remove-implicit-use-of-the-repository (2023-03-17) 17 commits
- libs: use "struct repository *" argument, not "the_repository"
- post-cocci: adjust comments for recent repo_* migration
- cocci: apply the "revision.h" part of "the_repository.pending"
- cocci: apply the "rerere.h" part of "the_repository.pending"
- cocci: apply the "refs.h" part of "the_repository.pending"
- cocci: apply the "promisor-remote.h" part of "the_repository.pending"
- cocci: apply the "packfile.h" part of "the_repository.pending"
- cocci: apply the "pretty.h" part of "the_repository.pending"
- cocci: apply the "object-store.h" part of "the_repository.pending"
- cocci: apply the "diff.h" part of "the_repository.pending"
- cocci: apply the "commit.h" part of "the_repository.pending"
- cocci: apply the "commit-reach.h" part of "the_repository.pending"
- cocci: apply the "cache.h" part of "the_repository.pending"
- cocci: add missing "the_repository" macros to "pending"
- cocci: sort "the_repository" rules by header
- cocci: fix incorrect & verbose "the_repository" rules
- cocci: remove dead rule from "the_repository.pending.cocci"

Code clean-up around the use of the_repository.

Needs review.
source: <[email protected]>

* fc/completion-colors-do-not-need-prompt-command (2023-03-16) 1 commit
- completion: prompt: use generic colors

Lift the limitation that colored prompts can only be used with PROMPT_COMMAND mode.

Will merge to 'next'.
< source: <[email protected]>

* fc/oid-quietly-parse-upstream (2023-03-16) 1 commit
- object-name: fix quiet @{u} parsing

"git rev-parse --quiet foo@{u}", or anything that asks @{u} to be parsed with GET_OID_QUIETLY option, did not quietly fail, which has been corrected.

Will merge to 'next'.
source: <[email protected]>

* jk/unused-post-2.40 (2023-03-17) 4 commits
- transport: mark unused parameters in fetch_refs_from_bundle()
- http: mark unused parameter in fill_active_slot() callbacks
- http: drop unused parameter from start_object_request()
- mailmap: drop debugging code

source: <[email protected]>

--------------------------------------------------
[Stalled]

* ed/fsmonitor-inotify (2022-12-13) 6 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

Bundled fsmonitor for Linux using inotify API.

What's the status of this one?
source: <[email protected]>

* ja/worktree-orphan (2023-01-13) 4 commits
- worktree add: add hint to direct users towards --orphan
- worktree add: add --orphan flag
- worktree add: refactor opt exclusion tests
- worktree add: include -B in usage docs

'git worktree add' learned how to create a worktree based on an orphaned branch with --orphan.

Expecting a reroll.
cf. <[email protected]>
source: <[email protected]>

* tl/notes--blankline (2023-02-24) 4 commits
- SQUASH??? leakfix
- notes.c: introduce '--separator=<paragraph-break>' option
- notes.c: cleanup for "designated init"
- notes.c: cleanup 'strbuf_grow' call in 'append_edit'

'git notes append' was taught '--separator' to specify string to insert between paragraphs.

Expecting further updates on -c/-C.
source: <[email protected]>

* ab/tag-object-type-errors (2022-11-22) 5 commits
- tag: don't emit potentially incorrect "object is a X, not a Y"
- tag: don't misreport type of tagged objects in errors
- object tests: add test for unexpected objects in tags
- object-file.c: free the "t.tag" in check_tag()
- Merge branch 'jk/parse-object-type-mismatch' into ab/tag-object-type-errors

Hardening checks around mismatched object types when one of those objects is a tag.

Expecting a reroll.
cf. <[email protected]>
cf. <[email protected]>
source: <[email protected]>

* jc/spell-id-in-both-caps-in-message-id (2022-12-17) 1 commit
- e-mail workflow: Message-ID is spelled with ID in both capital letters

Consistently spell "Message-ID" as such, not "Message-Id".

Needs review.
source: <[email protected]>

* ad/test-record-count-when-harness-is-in-use (2022-12-25) 1 commit
- test-lib: allow storing counts with test harnesses

Allow summary results from tests to be written to t/test-results directory even when a test harness like 'prove' is in use.

Needs review.
source: <[email protected]>

* so/diff-merges-more (2022-12-18) 5 commits
- diff-merges: improve --diff-merges documentation
- diff-merges: issue warning on lone '-m' option
- diff-merges: support list of values for --diff-merges
- diff-merges: implement log.diffMerges-m-imply-p config
- diff-merges: implement [no-]hide option and log.diffMergesHide config

Assorted updates to "--diff-merges=X" option.

May want to discard. Breaking compatibility does not seem worth it.
source: <[email protected]>

--------------------------------------------------
[Cooking]

* ab/fix-strategy-opts-parsing (2023-03-08) 1 commit
(merged to 'next' on 2023-03-08 at bd9eff2779)
+ sequencer.c: fix overflow & segfault in parse_strategy_opts() (this branch is used by pw/rebase-cleanup-merge-strategy-option-handling.)

The code to parse "git rebase -X<opt>" was not prepared to see an unparsable option string, which has been corrected.

Will merge to 'master'.
source: <[email protected]>

* ew/fetch-no-write-fetch-head-fix (2023-03-09) 1 commit (merged to 'next' on 2023-03-09 at 283e2159c8)
+ fetch: pass --no-write-fetch-head to subprocesses

Will merge to 'master'.
source: <20230308222205.M679514@dcvr>

* fc/advice-diverged-history (2023-03-08) 1 commit (merged to 'next' on 2023-03-08 at 30e7016218)
+ advice: add diverging advice for novices

After "git pull" that is configured with pull.rebase=false merge.ff=only fails due to our end having our own development, give advice messages to get out of the "Not possible to fast-forward" state.

Will merge to 'master'.
source: <[email protected]>

* jk/add-p-unmerged-fix (2023-03-09) 1 commit
(merged to 'next' on 2023-03-09 at a46443480c)
+ add-patch: handle "* Unmerged path" lines

"git add -p" while the index is unmerged sometimes failed to parse the diff output it internally produces and died, which has been corrected.

Will merge to 'master'.
source: <[email protected]>

* jk/format-patch-ignore-noprefix (2023-03-13) 6 commits (merged to 'next' on 2023-03-13 at 4b28e389f5)
+ rebase: prefer --default-prefix to --{src,dst}-prefix for format-patch (merged to 'next' on 2023-03-12 at 621d71c151)
+ format-patch: add format.noprefix option
+ format-patch: do not respect diff.noprefix
+ diff: add --default-prefix option
+ t4013: add tests for diff prefix options
+ diff: factor out src/dst prefix setup

"git format-patch" honors the src/dst prefixes set to nonstandard values with configuration variables like "diff.noprefix", causing receiving end of the patch that expects the standard -p1 format to break. Teach "format-patch" to ignore end-user configuration and always use the standard prefixes.

This is a backward compatibility breaking change.

Will merge to 'master'.
source: <[email protected]>

* sl/diff-files-sparse (2023-03-09) 2 commits
- diff-files: integrate with sparse index
- t1092: add tests for git diff-files

Teach "diff-files" not to expand sparse-index unless needed.

Expecting hopefully a final and minor reroll?
source: <[email protected]>

* aj/ls-files-format-fix (2023-03-10) 1 commit (merged to 'next' on 2023-03-13 at 27f876afa4)
+ ls-files: fix "--format" output of relative paths

Fix for a "ls-files --format="%(path)" that produced nonsense output, which was a bug in 2.38.

Will merge to 'master'.
source: <[email protected]>

* fc/test-aggregation-clean-up (2023-03-09) 2 commits (merged to 'next' on 2023-03-13 at f938b09366)
+ test: don't print aggregate-results command
+ test: simplify counts aggregation

Code clean-up for test framework.

Will merge to 'master'.
source: <[email protected]>

* ps/receive-pack-unlock-before-die (2023-03-10) 1 commit (merged to 'next' on 2023-03-13 at 8d099dffcc)
+ receive-pack: fix stale packfile locks when dying

"git receive-pack" that responds to "git push" requests failed to clean a stale lockfile when killed in the middle, which has been corrected.

Will merge to 'master'.
source: <e1ee1d8026a361bc58d16bc741e2b347ada7a53e.1678431076.git.ps@pks.im>

* as/doc-markup-fix (2023-03-06) 1 commit (merged to 'next' on 2023-03-07 at 8c7289659a)
+ git-merge-tree.txt: replace spurious HTML entity

Fix for a mis-mark-up in doc made in Git 2.39 days.

Will merge to 'master'.
source: <[email protected]>

* ds/ahead-behind (2023-03-15) 9 commits
- SQUASH??? leak fix (spotted by Peff)
- commit-reach: add tips_reachable_from_bases()
- for-each-ref: add ahead-behind format atom
- commit-reach: implement ahead_behind() logic
- commit-graph: introduce ensure_generations_valid()
- commit-graph: return generation from memory
- commit-graph: combine generation computations
- for-each-ref: explicitly test no matches
- for-each-ref: add --stdin option

"git for-each-ref" learns '%(ahead-behind:<base>)' that computes the distances from a single reference point in the history with bunch of commits in bulk.

Will merge to 'next'?
source: <[email protected]>

* gc/config-parsing-cleanup (2023-03-15) 8 commits
- config.c: rename "struct config_source cf"
- config: report cached filenames in die_bad_number()
- config.c: remove current_parsing_scope
- config.c: remove current_config_kvi
- config.c: plumb the_reader through callbacks
- config.c: create config_reader and the_reader
- config.c: don't assign to "cf_global" directly
- config.c: plumb config_source through static fns

Config API clean-up to reduce its dependence on static variables

Comments?
source: <[email protected]>

* jk/bundle-progress (2023-03-06) 1 commit (merged to 'next' on 2023-03-07 at 0df2b09e1b)
+ bundle: turn on --all-progress-implied by default

Simplify UI to control progress meter given by "git bundle" command.

Will merge to 'master'.
source: <[email protected]>

* jk/bundle-use-dash-for-stdfiles (2023-03-06) 5 commits (merged to 'next' on 2023-03-07 at 8ceb58f725)
+ parse-options: use prefix_filename_except_for_dash() helper
+ parse-options: consistently allocate memory in fix_filename()
+ bundle: don't blindly apply prefix_filename() to "-"
+ bundle: document handling of "-" as stdin
+ bundle: let "-" mean stdin for reading operations

"git bundle" learned that "-" is a common way to say that the input comes from the standard input and/or the output goes to the standard output. It used to work only for output and only from the root level of the working tree.

Will merge to 'master'.
source: <[email protected]>

* jk/format-patch-change-format-for-empty-commits (2023-03-03) 1 commit (merged to 'next' on 2023-03-07 at 1c421f4a9f)
+ format-patch: output header for empty commits

"git format-patch" learned to write a log-message only output file for empty commits.

Will merge to 'master'.
source: <[email protected]>

* ds/reprepare-alternates-when-repreparing-packfiles (2023-03-09) 1 commit (merged to 'next' on 2023-03-09 at 851bceed17)
+ object-file: reprepare alternates when necessary

Once we start running, we assumed that the list of alternate object databases would never change. Hook into the machinery used to update the list of packfiles during runtime to update this list as well.

Will merge to 'master'.
source: <[email protected]>

* ak/restore-both-incompatible-with-conflicts (2023-02-27) 1 commit (merged to 'next' on 2023-03-06 at 4ee341853c)
+ restore: fault --staged --worktree with merge opts

"git restore" supports options like "--ours" that are only meaningful during a conflicted merge, but these options are only meaningful when updating the working tree files. These options are marked to be incompatible when both "--staged" and "--worktree" are in effect.

Will merge to 'master'.
source: <[email protected]>

* zh/push-to-delete-onelevel-ref (2023-03-01) 2 commits (merged to 'next' on 2023-03-06 at f08def5949)
+ push: allow delete single-level ref
+ receive-pack: fix funny ref error messsage

"git push" has been taught to allow deletion of refs with one-level names to help repairing a repository who acquired such a ref by mistake. In general, we don't encourage use of such a ref, and creation or update to such a ref is rejected as before.

Will merge to 'master'.
source: <[email protected]>

* my/wildmatch-cleanups (2023-02-27) 5 commits
- wildmatch: more cleanups after killing uchar
- wildmatch: use char instead of uchar
- wildmatch: remove NEGATE_CLASS(2) macros with trivial refactoring
- wildmatch: remove IS*() macros
- git-compat-util: add isblank() and isgraph()

Code clean-up.

Comments?
source: <[email protected]>

* cw/forbid-use-of-gitlink-outside-submodules (2023-02-28) 6 commits . add: reject nested repositories
. tests: remove duplicate .gitmodules path
. tests: use git submodule add and fix expected status . tests: use git submodule add and fix expected diffs . tests: Use git submodule add instead of git add
. t4041, t4060: modernize test style

Forbid "git add dir" from adding a gitlink to the index.

Comments?
Seems to break tests when merged to 'seen'.
source: <[email protected]>

* ah/rebase-merges-config (2023-03-13) 3 commits
- rebase: add a config option for --rebase-merges
- rebase: deprecate --rebase-merges=""
- rebase: add documentation and test for --no-rebase-merges

Streamline --rebase-merges command line option handling and introduce rebase.merges configuration variable.

On hold.
source: <[email protected]>

* ew/commit-reach-clean-up-flags-fix (2023-02-11) 1 commit (merged to 'next' on 2023-03-06 at 5dc1c4c0b7)
+ commit-reach: avoid NULL dereference

Fix a segfaulting loop. The function and its caller may need further clean-up.

Will merge to 'master'.
cf. <[email protected]>
source: <[email protected]>

* tk/pull-conflict-suggest-rebase-merge-not-rebase-true (2023-02-13) 1 commit
- pull: conflict hint pull.rebase suggestion should offer "merges" vs "true"

In an advice message after failed non-ff pull, we used to suggest setting pull.rebase=true, but these days pull.rebase=merges may be more inline with the original spirit of "rebuild your side on top of theirs".

On hold. This is too much of a departure from the existing practice. cf. <CAMMLpeTPEoKVTbfc17w+Y9qn7jOGmQi_Ux0Y3sFW5QTgGWJ=SA@mail.gmail.com> cf. <CABPp-BGqAxKnxDRVN4cYMteLp33hvto07R3=TJBT5WubJT4+Og@mail.gmail.com>
source: <[email protected]>

* ab/avoid-losing-exit-codes-in-tests (2023-02-06) 6 commits (merged to 'next' on 2023-03-06 at 60d7d0d493)
+ tests: don't lose misc "git" exit codes
+ tests: don't lose exit status with "test <op> $(git ...)"
+ tests: don't lose "git" exit codes in "! ( git ... | grep )"
+ tests: don't lose exit status with "(cd ...; test <op> $(git ...))"
+ t/lib-patch-mode.sh: fix ignored exit codes
+ auto-crlf tests: don't lose exit code in loops and outside tests

Test clean-up.

Will merge to 'master'.
source: <[email protected]>

* rj/branch-unborn-in-other-worktrees (2023-02-22) 3 commits (merged to 'next' on 2023-03-06 at 6ee0ec72ae)
+ branch: rename orphan branches in any worktree
+ branch: description for orphan branch errors
+ branch: avoid unnecessary worktrees traversals

Error messages given when working on an unborn branch that is checked out in another worktree have been improved.

Needs update.
cf. <[email protected]>
source: <[email protected]>

* ab/imap-send-requires-curl (2023-02-02) 6 commits
- imap-send: correctly report "host" when using "tunnel"
- imap-send: remove old --no-curl codepath
- imap-send: make --curl no-optional
- imap-send: replace auto-probe libcurl with hard dependency
- imap-send doc: the imap.sslVerify is used with imap.tunnel
- imap-send: note "auth_method", not "host" on auth method failure

Give a hard dependency on cURL library to build "git imap-send", and remove the code to interact with IMAP server without using cURL.

Expecting a reroll.
The 'tunnel' part is still iffy.
cf. <[email protected]>
source: <[email protected]>

* ab/config-multi-and-nonbool (2023-03-08) 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 API: add and use a "git_config_get()" family of functions
- config tests: add "NULL" tests for *_get_value_multi()
- config tests: cover blind spots in git_die_config() tests

Assorted config API updates.

Almost there.
cf. <[email protected]>
source: <[email protected]>

* cb/checkout-same-branch-twice (2023-01-20) 1 commit
- checkout/switch: disallow checking out same branch in multiple worktrees

"git checkout -B $branch" failed to protect against checking out a branch that is checked out elsewhere, unlike "git branch -f" did.

Expecting a hopefully minor and final reroll. cf. <[email protected]>
source: <[email protected]>

* rj/avoid-switching-to-already-used-branch (2023-02-25) 4 commits (merged to 'next' on 2023-03-06 at 7546231ddf)
+ switch: reject if the branch is already checked out elsewhere (test)
+ rebase: refuse to switch to a branch already checked out elsewhere (test)
+ branch: fix die_if_checked_out() when ignore_current_worktree
+ worktree: introduce is_shared_symref()

A few subcommands have been taught to stop users from working on a branch that is being used in another worktree linked to the same repository.

Will merge to 'master'.
source: <[email protected]>

* rj/bisect-already-used-branch (2023-01-22) 1 commit (merged to 'next' on 2023-03-06 at 3508814a41)
+ bisect: fix "reset" when branch is checked out elsewhere

Allow "git bisect reset" to check out the original branch when the branch is already checked out in a different worktree linked to the same repository.

Will merge to 'master'.
source: <[email protected]>

* ms/send-email-feed-header-to-validate-hook (2023-01-19) 2 commits
- send-email: expose header information to git-send-email's sendemail-validate hook
- send-email: refactor header generation functions

"git send-email" learned to give the e-mail headers to the validate hook by passing an extra argument from the command line.

Expecting a hopefully minor and final reroll.
cf. <[email protected]>
source: <[email protected]>

* tc/cat-file-z-use-cquote (2023-03-03) 2 commits
. cat-file: quote-format name in error when using -z . cat-file: extract printing batch error message into function

"cat-file" in the batch mode that is fed NUL-terminated pathnames learned to cquote them in its error output (otherwise, a funny pathname with LF in it would break the lines in the output stream).

Breaks "cat-file --batch-all-objects --batch-check". cf. <[email protected]>
source: <[email protected]>

* cw/submodule-status-in-parallel (2023-03-02) 6 commits
- diff-lib: parallelize run_diff_files for submodules
- diff-lib: refactor out diff_change logic
- submodule: refactor is_submodule_modified()
- submodule: move status parsing into function
- submodule: rename strbuf variable
- run-command: add on_stderr_output_fn to run_processes_parallel_opts

"git submodule status" learned to run the comparison in submodule repositories in parallel.

Comments?
source: <[email protected]>