Skip to contentSkip to conversation

What's cooking in git.git (Mar 2023, #06; Wed, 29)

DISCUSSION Junio C Hamano 4 participants 10 messages Mar 29, 2023 – Apr 3, 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 two batches 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']

* fc/completion-colors-do-not-need-prompt-command (2023-03-16) 1 commit (merged to 'next' on 2023-03-19 at 35911c8f54)
+ completion: prompt: use generic colors

Lift the limitation that colored prompts can only be used with PROMPT_COMMAND mode.
source: <[email protected]>

* fc/docbook-remove-groff-workaround (2023-03-21) 1 commit (merged to 'next' on 2023-03-21 at 6c59b16205)
+ doc: remove GNU troff workaround

Remove workaround for ancient versions of DocBook to make it work correctly with groff, which has not been necessary since docbook 1.76 from 2010.
source: <[email protected]>

* fc/oid-quietly-parse-upstream (2023-03-16) 1 commit (merged to 'next' on 2023-03-21 at 593883005f)
+ 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.
source: <[email protected]>

* jk/fix-proto-downgrade-to-v0 (2023-03-17) 1 commit (merged to 'next' on 2023-03-21 at ed9e43d3ed)
+ git_connect(): fix corner cases in downgrading v2 to v0

Transports that do not support protocol v2 did not correctly fall back to protocol v0 under certain conditions, which has been corrected.
source: <ZBS6wwWXcEBwGBm/@coredump.intra.peff.net>

* pe/time-use-gettimeofday (2023-03-21) 1 commit (merged to 'next' on 2023-03-21 at 456b65b4c2)
+ git-compat-util: use gettimeofday(2) for time(2)

time(2) on glib 2.31+, especially on Linux, goes out of sync with higher resolution timers used for gettimeofday(2) and by the filesystem. Replace all calls to it with a git_time() wrapper and use gettimeofday(2) in its implementation.
source: <[email protected]>

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

* jk/really-deprecate-pack-redundant (2023-03-23) 1 commit (merged to 'next' on 2023-03-29 at 4d1bc9ac42)
+ pack-redundant: escalate deprecation warning to an error

"git pack-redundant" gave a warning when run, as the command has outlived its usefulness long ago and is nominated for future removal. Now we escalate to give an error.

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

* mk/workaround-pcre-jit-ucp-bug (2023-03-23) 1 commit (merged to 'next' on 2023-03-24 at d6c402a77b)
+ grep: work around UTF-8 related JIT bug in PCRE2 <= 10.34

A recent-ish change to allow unicode character classes to be used with "grep -P" triggered a JIT bug in older pcre2 libraries. The problematic change in Git built with these older libraries has been disabled to work around the bug.

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

* sm/ssl-key-type-config (2023-03-23) 1 commit
- http: add support for different sslcert and sslkey types.

Add a few configuration variables to tell the cURL library that different types of ssl-cert and ssl-key are in use.

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

* jk/blame-contents-with-arbitrary-commit (2023-03-24) 1 commit (merged to 'next' on 2023-03-27 at 74beb3baf9)
+ blame: allow --contents to work with non-HEAD commit

"git blame --contents=<file> <rev> -- <path>" used to be forbidden, but now it finds the origins of lines starting at <file> contents through the history that leads to <rev>.

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

* ed/fsmonitor-windows-named-pipe (2023-03-24) 1 commit
- fsmonitor: handle differences between Windows named pipe functions

Fix fsmonitor on Windows when the filesystem path contains certain characters.

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

* ob/rollback-after-commit-lock-failure (2023-03-24) 1 commit (merged to 'next' on 2023-03-27 at ea237a011c)
+ sequencer: remove pointless rollback_lock_file()

Code clean-up.

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

* ob/sequencer-save-head-simplify (2023-03-24) 1 commit (merged to 'next' on 2023-03-27 at 388e26f1d1)
+ sequencer: rewrite save_head() in terms of write_message()

Code clean-up.

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

* ab/retire-scripted-add-p (2023-03-27) 1 commit (merged to 'next' on 2023-03-27 at f8cbc0c604)
+ t3701: we don't need no Perl for add -i anymore

Test fix.

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

* ps/ahead-behind-truncation-fix (2023-03-27) 1 commit
- commit-graph: fix truncated generation numbers (this branch uses ds/ahead-behind.)

Fix unnecessary truncation of generation numbers used in-core.

Comments?
source: <[email protected]>

* rs/archive-mtime (2023-03-27) 1 commit
(merged to 'next' on 2023-03-27 at 672cd32edf)
+ t5000: use check_mtime()

Test update.

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

* ws/sparse-check-rules (2023-03-27) 2 commits
- builtin/sparse-checkout: add check-rules command
- builtin/sparse-checkout: remove NEED_WORK_TREE flag

"git sparse-checkout" command learns a debugging aid for the sparse rule definitions.

Comments?
source: <[email protected]>

* kh/commentchar-config-error-message (2023-03-27) 1 commit (merged to 'next' on 2023-03-27 at 7fdda0a984)
+ config: tell the user that we expect an ASCII character

Doc update.

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

* mh/credential-password-expiry-wincred (2023-03-27) 1 commit
- credential/wincred: store password_expiry_utc

Teach the recently invented "password expiry time" trait to the wincred credential helper.

Area maintainer is fairly negative. Perhaps drop?
cf. <[email protected]>
source: <[email protected]>

* mh/use-wincred-from-system (2023-03-27) 1 commit
- credential/wincred: include wincred.h

Code clean-up.

Area maintainer is fairly negative. Perhaps drop? cf. <[email protected]>
source: <[email protected]>

* ds/p2000-fix-grep-sparse (2023-03-28) 1 commit
(merged to 'next' on 2023-03-29 at 6a59283aa3)
+ p2000: remove stray '--sparse' flag from test

Fix perf test.

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

* jk/chainlint-fixes (2023-03-28) 4 commits
- tests: skip test_eval_ in internal chain-lint
- tests: drop here-doc check from internal chain-linter
- tests: replace chainlint subshell with a function
- tests: run internal chain-linter under "make test"

Test framework fix.

Comments?
source: <[email protected]>

* jk/document-pack-redundant-deprecation (2023-03-28) 1 commit (merged to 'next' on 2023-03-29 at cb64256b97)
+ pack-redundant: document deprecation

Document that we have marked "pack-redundant" as deprecated.

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

* jk/document-rev-list-object-name (2023-03-28) 1 commit (merged to 'next' on 2023-03-29 at e1cd79f572)
+ docs: document caveats of rev-list's object-name output

Document what the pathname-looking strings in "rev-list --object" output are for and what they mean.

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

* ob/revert-of-revert (2023-03-28) 1 commit
- sequencer: call a revert of a revert "reapply"

Instead of "Revert "Revert "original"", give "Replay "original"" as the title for a revert of a revert.

Needs more polishing: docs, tests, transitions.
source: <[email protected]>

* jk/unused-post-2.40-part2 (2023-03-28) 7 commits (merged to 'next' on 2023-03-29 at 7aeee1b6c6)
+ parse-options: drop parse_opt_unknown_cb()
+ t/helper: mark unused argv/argc arguments
+ mark "argv" as unused when we check argc
+ builtins: mark unused prefix parameters
+ builtins: annotate always-empty prefix parameters
+ builtins: always pass prefix to parse_options()
+ fast-import: fix file access when run from subdir

Code clean-up for "-Wunused-parameter" build.

Will merge to 'master'.
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-separator (2023-03-28) 4 commits
. notes.c: don't do stripespace when parse file arg . notes.c: introduce '--separator=<paragraph-break>' option . notes.c: use designated initializers for clarity . 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.
Seems to break CI.
cf. <[email protected]>
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]

* pw/sequencer-rescheduled-ones-are-not-done-yet (2023-03-20) 1 commit
- rebase -i: do not update "done" when rescheduling command

"rebase -i" moved a "rescheduled" insn in the todo file to the "done" list before it completed, which has been corrected.

Expecting clarification.
source: <[email protected]>

* pw/wildmatch-fixes (2023-03-27) 4 commits
(merged to 'next' on 2023-03-27 at 40f52ba243)
+ t3070: make chain lint tester happy
(merged to 'next' on 2023-03-24 at d0d1f23565)
+ wildmatch: hide internal return values
+ wildmatch: avoid undefined behavior
+ wildmatch: fix exponential behavior

The wildmatch library code unlearns exponential behaviour it acquired some time ago since it was borrowed from rsync.

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

* sg/parse-options-h-initializers (2023-03-20) 3 commits (merged to 'next' on 2023-03-23 at f16b3ab6d7)
+ parse-options.h: use designated initializers in OPT_* macros
+ parse-options.h: rename _OPT_CONTAINS_OR_WITH()'s parameters
+ parse-options.h: use consistent name for the callback parameters

Code clean-up to use designated initializers in parse-options API.

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

* sg/parse-options-h-users (2023-03-20) 2 commits
(merged to 'next' on 2023-03-23 at 2ca7d1e737)
+ treewide: remove unnecessary inclusions of parse-options.h from headers
+ treewide: include parse-options.h in source files

Code clean-up to include and/or uninclude parse-options.h file as needed.

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

* rs/archive-from-subdirectory-fixes (2023-03-24) 1 commit
- archive: improve support for running in subdirectory

"git archive" run from a subdirectory mishandled attributes and paths outside the current directory.
source: <[email protected]>

* tb/pack-bitmap-index-seek (2023-03-20) 6 commits (merged to 'next' on 2023-03-21 at b579e226b5)
+ pack-bitmap.c: factor out bitmap_index_seek_commit()
+ pack-bitmap.c: use bitmap_index_seek() where possible
+ pack-bitmap.c: factor out manual map_pos manipulation
+ pack-bitmap.c: drop unnecessary 'inline's
+ pack-bitmap.c: hide bitmap internals in read_be32()
+ pack-bitmap.c: hide bitmap internals in read_u8()

Clean-up the pack-bitmap codepath.

On hold. There is a BUG() on data errors.
source: <[email protected]>

* en/header-split-cleanup (2023-03-21) 16 commits
- csum-file.h: remove unnecessary inclusion of cache.h
- write-or-die.h: move declarations for write-or-die.c functions from cache.h
- treewide: remove cache.h inclusion due to setup.h changes
- setup.h: move declarations for setup.c functions from cache.h
- treewide: remove cache.h inclusion due to environment.h changes
- environment.h: move declarations for environment.c functions from cache.h
- treewide: remove unnecessary includes of cache.h
- wrapper.h: move declarations for wrapper.c functions from cache.h
- path.h: move function declarations for path.c functions from cache.h
- cache.h: remove expand_user_path()
- abspath.h: move absolute path functions from cache.h
- environment: move comment_line_char from cache.h
- treewide: remove unnecessary cache.h inclusion from several sources
- treewide: remove unnecessary inclusion of gettext.h
- treewide: be explicit about dependence on gettext.h
- treewide: remove unnecessary cache.h inclusion from a few headers

Split key function and data structure definitions out of cache.h to new header files and adjust the users.

Needs review.
source: <[email protected]>

* jc/am-doc-refer-to-format-patch (2023-03-21) 1 commit (merged to 'next' on 2023-03-23 at 01b35c0581)
+ am: refer to format-patch in the documentation

Doc update.

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

* jk/fast-export-cleanup (2023-03-22) 6 commits
(merged to 'next' on 2023-03-27 at 12b9a9308e)
+ fast-export: drop unused parameter from anonymize_commit_message()
+ fast-export: drop data parameter from anonymous generators
+ fast-export: de-obfuscate --anonymize-map handling
+ fast-export: factor out anonymized_entry creation
+ fast-export: simplify initialization of anonymized hashmaps
+ fast-export: drop const when storing anonymized values

Code clean-up.

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

* js/split-index-fixes (2023-03-27) 4 commits
(merged to 'next' on 2023-03-27 at 3a7b7da0d1)
+ unpack-trees: take care to propagate the split-index flag
+ fsmonitor: avoid overriding cache_changed bits
+ split-index; stop abusing the base_oid to strip the "link" extension
+ split-index & fsmonitor: demonstrate a bug

The index files can become corrupt under certain conditions when the split-index feature is in use, especially together with fsmonitor, which have been corrected.

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

* ar/test-cleanup-unused-file-creation (2023-03-20) 7 commits (merged to 'next' on 2023-03-28 at ad035b41ea)
+ 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: don't create unused files
+ t1006: assert error output of cat-file
+ t1005: assert output of ls-files

Test clean-up.

Will merge to 'master'.
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-27) 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-20) 6 commits
- fetch: centralize printing of reference updates
- fetch: centralize logic to print remote URL
- fetch: centralize 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

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'

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-28) 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.

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

More "-Wunused-parameters" code clean-up.

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

* sl/diff-files-sparse (2023-03-22) 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.

Comments?
source: <[email protected]>

* ds/ahead-behind (2023-03-20) 9 commits
(merged to 'next' on 2023-03-23 at a607895174)
+ 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: simplify compute_generation_numbers()
+ commit-graph: refactor compute_topological_levels()
+ for-each-ref: explicitly test no matches
+ for-each-ref: add --stdin option
(this branch is used by ps/ahead-behind-truncation-fix.)

"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 'master' after ps/ahead-behind-truncation-fix is acked.
source: <[email protected]>

* gc/config-parsing-cleanup (2023-03-28) 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

Will merge to 'next'.
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.

Ejected as it conflicts with pw/wildmatch-fixes topic.
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-27) 3 commits (merged to 'next' on 2023-03-27 at c8a894ba4b)
+ 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.

Will merge to 'master'.
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]>

* rj/branch-unborn-in-other-worktrees (2023-03-27) 5 commits
- branch: avoid unnecessary worktrees traversals
- branch: rename orphan branches in any worktree
- branch: description for orphan branch errors
- branch: use get_worktrees() in copy_or_rename_branch()
- branch: test for failures while renaming branches

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

Kicked out of 'next' to replace with an updated version.
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-28) 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.

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

* cb/checkout-same-branch-twice (2023-03-22) 2 commits
- SQUASH??? the test marked to expect failure passes from day one
- 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]>

* 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]>

#1 lore raw
Quoted 10 lines · Junio C Hamano

* jk/chainlint-fixes (2023-03-28) 4 commits
- tests: skip test_eval_ in internal chain-lint
- tests: drop here-doc check from internal chain-linter
- tests: replace chainlint subshell with a function
- tests: run internal chain-linter under "make test"

Test framework fix.

Comments?
source: <[email protected]>

Happy for more review, of course, but note that I'll also be sending a re-roll with Eric's chainlint.pl patch in the middle.

Quoted 8 lines

* jk/document-pack-redundant-deprecation (2023-03-28) 1 commit (merged to 'next' on 2023-03-29 at cb64256b97)
+ pack-redundant: document deprecation

Document that we have marked "pack-redundant" as deprecated.

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

The application of the patch missed out on --scissors, I think. (I also expected it on top of jk/really-deprecate-pack-redundant, and for them to graduate together, but I don't think that matters much either way).

-Peff

#2 lore raw
Quoted 6 lines · Jeff King
Quoted 6 lines

* jk/document-pack-redundant-deprecation (2023-03-28) 1 commit (merged to 'next' on 2023-03-29 at cb64256b97)
+ pack-redundant: document deprecation

Document that we have marked "pack-redundant" as deprecated.

Quoted 7 lines
Quoted 2 lines

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

The application of the patch missed out on --scissors, I think. (I also expected it on top of jk/really-deprecate-pack-redundant, and for them to graduate together, but I don't think that matters much either way).

Yuck, that was very sloppy of me. Thanks for catching.

#3 lore raw
In reply to Junio C Hamano
Quoted 19 lines · Junio C Hamano

* en/header-split-cleanup (2023-03-21) 16 commits
- csum-file.h: remove unnecessary inclusion of cache.h
- write-or-die.h: move declarations for write-or-die.c functions from cache.h
- treewide: remove cache.h inclusion due to setup.h changes
- setup.h: move declarations for setup.c functions from cache.h
- treewide: remove cache.h inclusion due to environment.h changes
- environment.h: move declarations for environment.c functions from cache.h
- treewide: remove unnecessary includes of cache.h
- wrapper.h: move declarations for wrapper.c functions from cache.h
- path.h: move function declarations for path.c functions from cache.h
- cache.h: remove expand_user_path()
- abspath.h: move absolute path functions from cache.h
- environment: move comment_line_char from cache.h
- treewide: remove unnecessary cache.h inclusion from several sources
- treewide: remove unnecessary inclusion of gettext.h
- treewide: be explicit about dependence on gettext.h
- treewide: remove unnecessary cache.h inclusion from a few headers

Quoted 5 lines

Split key function and data structure definitions out of cache.h to new header files and adjust the users.

Needs review.
source: <[email protected]>

Not sure if you want more review, or the notice is just stale. If the latter, some helpful pointers:

Jonathan Tan reviewed the latest series, v2, here:
https://lore.kernel.org/git/[email protected]/

(Ævar also looked at v1, and pointed out one of my commit messages needed clarification, and that my overall cover letter needed further explanation -- both of which were provided in v2).

#4 lore raw
Quoted 2 lines · Elijah Newren

Not sure if you want more review, or the notice is just stale. If the latter, some helpful pointers:

Thanks. It was the latter.

Quoted 7 lines

Jonathan Tan reviewed the latest series, v2, here:
https://lore.kernel.org/git/[email protected]/

(Ævar also looked at v1, and pointed out one of my commit messages needed clarification, and that my overall cover letter needed further explanation -- both of which were provided in v2).

#5 lore raw
In reply to Junio C Hamano

Hi,

Just a comment on a couple series I've looked at today:

Quoted 8 lines · Junio C Hamano

* 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]>

Maybe mark as expecting a re-roll? (based on Peff's review and your follow-up at https://lore.kernel.org/git/[email protected]/,
plus the typo I just spotted in the commit message)?

Alternatively, if we want the --counts option (as per Peff's "The patch itself looks correct, if we want to go with a --counts option."), then just fixup the typo I spotted in the commit message
(https://lore.kernel.org/git/CABPp-BGBYUHeYtsyM-gYvr0CsKGAmJ1OKqcmnHiKYy0ps6NrCg@mail.gmail.com/),
and then merge it down?

Quoted 8 lines

* 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

Quoted 5 lines

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

Comments?
source: <[email protected]>

Perhaps this could be marked as needing a reroll, based on both
https://lore.kernel.org/git/CAFySSZDk05m6gU5-V1R+y3YnQ5PPduVW54+_gjBwD0rmacsLsw@mail.gmail.com/
and https://lore.kernel.org/git/[email protected]/ ?

#6 lore raw
Quoted 6 lines · Elijah Newren
Quoted 6 lines

* 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.

Quoted 6 lines
Quoted 2 lines

Needs review.
source: <[email protected]>

Maybe mark as expecting a re-roll? (based on Peff's review and your follow-up at https://lore.kernel.org/git/[email protected]/,
plus the typo I just spotted in the commit message)?

Sounds good. Thanks.

#8 lore raw

ps/ahead-behind-truncation-fix (Was: Re: What's cooking in git.git (Mar 2023, #06; Wed, 29))

In reply to Junio C Hamano

Hi,

Quoted 8 lines · Junio C Hamano

* ps/ahead-behind-truncation-fix (2023-03-27) 1 commit
- commit-graph: fix truncated generation numbers (this branch uses ds/ahead-behind.)

Fix unnecessary truncation of generation numbers used in-core.

Comments?
source: <[email protected]>

The source link appears to be incorrect; I think it should be f8a0a869e8b0882f05cac49d78f49ba3553d3c44.1679904401.git.ps@pks.im.

And if so, the series has been reviewed by 3 people (you, Stolee, and Taylor). Both Stolee and Taylor were in favor of merging it down, so I think the status is just out-of-date?

#9 lore raw

ps/fetch-ref-update-reporting (Was: Re: What's cooking in git.git (Mar 2023, #06; Wed, 29))

In reply to Junio C Hamano
Quoted 8 lines · Junio C Hamano

* ps/fetch-ref-update-reporting (2023-03-20) 6 commits
- fetch: centralize printing of reference updates
- fetch: centralize logic to print remote URL
- fetch: centralize 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

Quoted 5 lines

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

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

Not sure if you think this needs further review, but I'm happy with merging the first 5 patches and have no objections to merging the 6th [1], and you mentioned that you were inclined to also take the 6th.

[1] https://lore.kernel.org/git/[email protected]/
[2] https://lore.kernel.org/git/[email protected]/