Skip to contentSkip to conversation

What's cooking in git.git (May 2023, #04; Thu, 11)

DISCUSSION Junio C Hamano 6 participants 9 messages May 12, 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.

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/

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

* js/rebase-count-fixes (2023-05-10) 2 commits
- rebase -r: fix the total number shown in the progress
- rebase --update-refs: fix loops

A few bugs in the sequencer machinery that results in miscounting the steps have been corrected.

Waiting for responses to reviews.
cf. <[email protected]>
source: <[email protected]>

* ds/merge-tree-use-config (2023-05-10) 1 commit
(merged to 'next' on 2023-05-11 at e0dab53028)
+ merge-tree: load default git config

Allow git forges to disable replace-refs feature while running "git merge-tree".

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

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

* ah/doc-attributes-text (2023-05-03) 1 commit
(merged to 'next' on 2023-05-04 at 121c97817e)
+ docs: rewrite the documentation of the text and eol attributes

Doc update to clarify how text and eol attributes interact to specify the end-of-line conversion.
source: <[email protected]>

* ar/test-cleanup-unused-file-creation-part2 (2023-05-03) 6 commits (merged to 'next' on 2023-05-03 at 185f0ec195)
+ t2019: don't create unused files
+ t1502: don't create unused files
+ t1450: don't create unused files
+ t1300: don't create unused files
+ t1300: fix config file syntax error descriptions
+ t0300: don't create unused file

Test cleanup.
cf. <CABPp-BFCBPTBc9savP13gNFmBo_WCnZHUv_Z8bWE6T6GZOrs-Q@mail.gmail.com>
source: <[email protected]>

* fc/doc-drop-custom-callout-format (2023-05-03) 1 commit (merged to 'next' on 2023-05-04 at c2fd654367)
+ doc: remove custom callouts format

Our custom callout formatter is no longer used in the documentation formatting toolchain, as the upstream default ones give better output these days.
source: <[email protected]>

* fc/doc-man-lift-title-length-limit (2023-05-03) 1 commit (merged to 'next' on 2023-05-04 at d048eb1ef8)
+ doc: manpage: remove maximum title length

The titles of manual pages used to be chomped at an unreasonably short limit, which has been removed.
source: <[email protected]>

* hx/negotiator-non-recursive (2023-04-26) 2 commits (merged to 'next' on 2023-05-02 at 64f97cc72d)
+ negotiator/skipping: fix some problems in mark_common()
+ negotiator/default: avoid stack overflow

The implementation of the default "negotiator", used to find common ancestor over the network for object tranfer, used to be recursive; it was updated to be iterative to conserve stackspace usage. cf. <[email protected]>
source: <[email protected]>

* ma/gittutorial-fixes (2023-04-20) 2 commits (merged to 'next' on 2023-05-02 at bf96011972)
+ gittutorial: wrap literal examples in backticks
+ gittutorial: drop early mention of origin

Doc fixes.
source: <[email protected]>

* mh/credential-oauth-refresh-token (2023-04-21) 1 commit (merged to 'next' on 2023-05-04 at 9ade4aa024)
+ credential: new attribute oauth_refresh_token

The credential subsystem learns to help OAuth framework.
source: <[email protected]>

* mh/credential-password-expiry-wincred (2023-04-03) 1 commit (merged to 'next' on 2023-05-06 at 51aae61f60)
+ credential/wincred: store password_expiry_utc

Teach the recently invented "password expiry time" trait to the wincred credential helper.
cf. <CAGJzqsm4LmpYE46v2=y4=A+Och44zaQyzTXQRteX-KNSzA_18g@mail.gmail.com>
source: <[email protected]>

* mh/use-wincred-from-system (2023-03-27) 1 commit (merged to 'next' on 2023-05-06 at a545c5d4aa)
+ credential/wincred: include wincred.h

Code clean-up.
cf. <[email protected]>
cf. <CAGJzqsm4LmpYE46v2=y4=A+Och44zaQyzTXQRteX-KNSzA_18g@mail.gmail.com>
source: <[email protected]>

* ms/send-email-feed-header-to-validate-hook (2023-04-19) 2 commits (merged to 'next' on 2023-05-03 at ba7079bcd4)
+ 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.
source: <[email protected]>

* rs/test-ctype-eof (2023-05-02) 1 commit
(merged to 'next' on 2023-05-02 at a19201a6a9)
+ test-ctype: check EOF

ctype tests have been taught to test EOF, too.
source: <[email protected]>

* sd/doc-gitignore-and-rm-cached (2023-05-03) 1 commit (merged to 'next' on 2023-05-04 at a4b1b128d6)
+ docs: clarify git rm --cached function in gitignore note

Doc update.
source: <[email protected]>

* tb/credential-long-lines (2023-05-01) 7 commits
(merged to 'next' on 2023-05-02 at f027002b92)
+ contrib/credential: embiggen fixed-size buffer in wincred
+ contrib/credential: avoid fixed-size buffer in libsecret
+ contrib/credential: .gitignore libsecret build artifacts
+ contrib/credential: remove 'gnome-keyring' credential helper
+ contrib/credential: avoid fixed-size buffer in osxkeychain
+ t/lib-credential.sh: ensure credential helpers handle long headers
+ credential.c: store "wwwauth[]" values in credential_read()

The implementation of credential helpers used fgets() over fixed size buffers to read protocol messages, causing the remainder of the folded long line to trigger unexpected behaviour, which has been corrected.
source: <[email protected]>

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

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

* rn/sparse-diff-index (2023-04-10) 1 commit
- diff-index: enable sparse index

"git diff-index" command has been taught to work better with the sparse index.

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

* ja/worktree-orphan (2023-04-17) 8 commits
- worktree add: emit warn when there is a bad HEAD
- worktree add: extend DWIM to infer --orphan
- worktree add: introduce "try --orphan" hint
- worktree add: add --orphan flag
- t2400: add tests to verify --quiet
- t2400: refactor "worktree add" opt exclusion tests
- t2400: print captured git output when finished
- 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. <m7crhly2j3k76whydbtdwhvzghvoql436g3lqtst4v3ahv75aa@wq5zjepgrxz5>
source: <[email protected]>

* es/recurse-submodules-option-is-a-bool (2023-04-10) 1 commit
- usage: clarify --recurse-submodules as a boolean

The "--[no-]recurse-submodules" option of "git checkout" and others supported an undocumented syntax --recurse-submodules=<value> where the value can spell a Boolean in various ways. The support for the syntax is being dropped.

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

* tb/pack-bitmap-index-seek (2023-03-20) 6 commits
- 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.

Kicked back to 'seen' out of 'next'.
There is a BUG() on data errors that needs to be fixed.
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. <CAPUEspj_Bh+LgYLnWfeBdcq_uV5Cbou-7H51GLFjzSa5Qzby9w@mail.gmail.com>
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".

May want to discard.
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/tag-object-type-errors (2023-05-10) 4 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
- 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.
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.

Expecting a reroll.
cf. <CABPp-BGoPuGCZw+9wCgdYyRR4Zf4y9Kun27GrQhtMdYWpOUsYQ@mail.gmail.com>
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]>

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

* tc/cat-file-z-use-cquote (2023-05-10) 1 commit
- cat-file: quote-format name in error when using -z

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

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

Expecting a reroll.
cf. <CAFySSZDk05m6gU5-V1R+y3YnQ5PPduVW54+_gjBwD0rmacsLsw@mail.gmail.com> cf. <[email protected]>
source: <[email protected]>

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

* jc/t9800-fix-use-of-show-s-raw (2023-05-06) 1 commit (merged to 'next' on 2023-05-09 at f4d7a7d671)
+ t9800: correct misuse of 'show -s --raw' in a test

A test fix.

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

* tl/push-branches-is-an-alias-for-all (2023-05-06) 1 commit (merged to 'next' on 2023-05-09 at 1d8c3e5dcf)
+ push: introduce '--branches' option

"git push --all" gained an alias "git push --branches".

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

* en/header-split-cache-h-part-3 (2023-05-08) 25 commits
- fsmonitor-ll.h: split this header out of fsmonitor.h
- hash-ll, hashmap: move oidhash() to hash-ll
- git-compat-util.h: remove unneccessary include of wildmatch.h
- builtin.h: remove unneccessary includes
- list-objects-filter-options.h: remove unneccessary include
- diff.h: remove unnecessary include of oidset.h
- repository: remove unnecessary include of path.h
- log-tree: replace include of revision.h with simple forward declaration
- cache.h: remove this no-longer-used header
- read-cache*.h: move declarations for read-cache.c functions from cache.h
- repository.h: move declaration of the_index from cache.h
- merge.h: move declarations for merge.c from cache.h
- diff.h: move declaration for global in diff.c from cache.h
- preload-index.h: move declarations for preload-index.c from elsewhere
- sparse-index.h: move declarations for sparse-index.c from cache.h
- name-hash.h: move declarations for name-hash.c from cache.h
- run-command.h: move declarations for run-command.c from cache.h
- statinfo: move stat_{data,validity} functions from cache/read-cache
- read-cache: move shared add/checkout/commit code
- add: modify add_files_to_cache() to avoid globals
- read-cache: move shared commit and ls-files code
- setup: adopt shared init-db & clone code
- init-db, clone: change unnecessary global into passed parameter
- init-db: remove unnecessary global variable & document existing bug
- Merge branch 'en/header-split-cache-h-part-2' into en/header-split-cache-h-part-3

Header files cleanup.

Needs review.
source: <[email protected]>

* js/subtree-fully-spelt-quiet-and-debug-options (2023-05-08) 1 commit (merged to 'next' on 2023-05-10 at 2980db981e)
+ subtree: support long global flags

"git subtree" (in contrib/) update.

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

* js/gitk-fixes-from-gfw (2023-05-08) 3 commits (merged to 'next' on 2023-05-08 at adb334deec)
+ Merge gitk changes into js/gitk-fixes-from-gfw
+ gitk: escape file paths before piping to git log
+ gitk: prevent overly long command lines

Gitk updates from GfW project.

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

* la/doc-interpret-trailers (2023-05-11) 9 commits
- doc: trailer: add more examples in DESCRIPTION
- doc: trailer: mention 'key' in DESCRIPTION
- doc: trailer.<token>.command: emphasize deprecation
- doc: trailer: use angle brackets for <token> and <value>
- doc: trailer: remove redundant phrasing
- doc: trailer: examples: avoid the word "message" by itself
- doc: trailer: drop "commit message part" phrasing
- doc: trailer: swap verb order
- doc: trailer: fix grammar

Doc update.

On hold. Looking good.
Want to be rebased once kh/doc-interpret-trailers-updates lands.
source: <[email protected]>

* ar/test-cleanup-unused-file-creation (2023-05-09) 1 commit (merged to 'next' on 2023-05-09 at 7734f3d690)
+ test: rev-parse-upstream: add missing cmp

Test fix.

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

* cc/git-replay (2023-05-09) 16 commits
- SQUASH???
- replay: stop assuming replayed branches do not diverge
- replay: add --contained to rebase contained branches
- replay: add --advance or 'cherry-pick' mode
- replay: disallow revision specific options and pathspecs
- replay: use standard revision ranges
- replay: make it a minimal server side command
- replay: remove HEAD related sanity check
- replay: remove progress and info output
- replay: add an important FIXME comment about gpg signing
- replay: don't simplify history
- replay: introduce pick_regular_commit()
- replay: die() instead of failing assert()
- replay: start using parse_options API
- replay: introduce new builtin
- t6429: remove switching aspects of fast-rebase

source: <[email protected]>

* jc/pack-ref-exclude-include (2023-05-11) 4 commits
- pack-refs: teach pack-refs --include option
- revision: modify ref_exclusions to handle inclusions
- pack-refs: teach --exclude option to exclude refs from being packed
- docs: clarify git-pack-refs --all will pack all refs

"git pack-refs" learns "--include" and "--exclude" to tweak the ref hierarchy to be packed using pattern matching.

Needs review.
source: <[email protected]>

* jk/test-verbose-no-more (2023-05-08) 3 commits (merged to 'next' on 2023-05-09 at 897bfd0a6b)
+ t: drop "verbose" helper function
+ t7001: use "ls-files --format" instead of "cut"
+ t7001: avoid git on upstream of pipe

Retire "verbose" helper function from the test framework.

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

* tb/pack-extra-cruft-tips (2023-05-03) 1 commit
- builtin/pack-objects.c: introduce pack.extraCruftTips

"git pack-objects" learned to invoke a new hook program that enumerates extra objects to be used as anchoring points to keep otherwise unreachable objects in cruft packs.

Under discussion
cf. <[email protected]>
source: <27a7f16aab35b5cac391d9831aadb0f2e2146313.1683151485.git.me@ttaylorr.com>

* jc/diff-s-with-other-options (2023-05-05) 1 commit
- diff: fix interaction between the "-s" option and other options (this branch uses jc/dirstat-plug-leaks.)

The "-s" (silent, squelch) option of the "diff" family of commands did not interact with other options that specify the output format well. This has been cleaned up so that it will clear all the formatting options given before.

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

* fc/asciidoc-code-block-hack (2023-05-04) 2 commits
- doc: manpage: remove ancient workaround
- doc: git-svn: use listing instead of verse

Documentation toolchain lost an ancient workaround that is no longer needed.

Needs review.
source: <[email protected]>

* fc/doc-revisions-markup-fix (2023-05-04) 2 commits
- doc: revisions: add a bunch of missing quotes
- doc: revisions: fix missing escape

Doc cleanup.

Needs review.
source: <[email protected]>

* fc/doc-use-datestamp-in-commit (2023-05-05) 2 commits (merged to 'next' on 2023-05-06 at 1eda43b03f)
+ doc-diff: drop SOURCE_DATE_EPOCH override
+ doc: doc-diff: specify date

An earlier change broke "doc-diff", which has been corrected.

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

* jc/dirstat-plug-leaks (2023-05-05) 2 commits (merged to 'next' on 2023-05-09 at 2df7cf06e4)
+ diff: plug leaks in dirstat
+ diff: refactor common tail part of dirstat computation (this branch is used by jc/diff-s-with-other-options.)

"git diff --dirstat" leaked memory, which has been plugged.

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

* jc/name-rev-deprecate-stdin-further (2023-05-06) 1 commit (merged to 'next' on 2023-05-09 at 0db4f08e32)
+ name-rev: make --stdin hidden

The "--stdin" option of "git name-rev" has been replaced with the "--annotate-stdin" option more than a year ago. We stop advertising it in the "git name-rev -h" output.

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

* ob/revert-of-revert (2023-05-05) 1 commit
- sequencer: beautify subject of reverts of reverts

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

Expecting a hopefully final reroll.
Looking much better, except for minor cosmetic issues.
source: <[email protected]>

* jc/attr-source-tree (2023-05-06) 1 commit (merged to 'next' on 2023-05-10 at cb94f4fba6)
+ attr: teach "--attr-source=<tree>" global option to "git"

"git --attr-source=<tree> cmd $args" is a new way to have any command to read attributes not from the working tree but from the given tree object.

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

* mc/send-email-header-cmd (2023-05-01) 3 commits (merged to 'next' on 2023-05-06 at 04514468b6)
+ send-email: detect empty blank lines in command output
+ send-email: add --header-cmd, --no-header-cmd options
+ send-email: extract execute_cmd from recipients_cmd

"git send-email" learned "--header-cmd=<cmd>" that can inject arbitrary e-mail header lines to the outgoing messages.

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

* bc/clone-empty-repo-via-protocol-v0 (2023-05-01) 1 commit
- upload-pack: advertise capabilities when cloning empty repos

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

* ds/fsck-bitmap (2023-05-02) 2 commits
(merged to 'next' on 2023-05-09 at c2148408a2)
+ fsck: use local repository
+ fsck: verify checksums of all .bitmap files

"git fsck" learned to detect bit-flip breakages in the reachability bitmap files.

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

* gc/trace-bare-repo-setup (2023-05-01) 1 commit
(merged to 'next' on 2023-05-06 at 72b977d2f9)
+ setup: trace bare repository setups

The tracing mechanism learned to notice and report when auto-discovered bare repositories are being used, as allowing so without explicitly stating the user intends to do so (with setting GIT_DIR for example) can be used with social engineering as an attack vector.

Will merge to 'master'.
source: <e98be8e7f703fc741e06d9208545abc8c24d1a4a.1682962110.git.steadmon@google.com>

* cw/strbuf-cleanup (2023-05-11) 7 commits
- strbuf: remove global variable
- strbuf: clarify dependency
- path: move related function to path
- object-name: move related functions to object-name
- credential-store: move related functions to credential-store file
- abspath: move related functions to abspath
- strbuf: clarify API boundary

Move functions that are not about pure string manipulation out of strbuf.[ch]

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

* jc/doc-clarify-git-default-hash-variable (2023-04-26) 1 commit (merged to 'next' on 2023-05-06 at 7bae4db4cc)
+ doc: GIT_DEFAULT_HASH is and will be ignored during "clone"

The documentation was misleading about the interaction between GIT_DEFAULT_HASH and "git clone", which has been clarified to stress that the variable is to be ignored by the command.

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

* tl/notes-separator (2023-04-28) 6 commits (merged to 'next' on 2023-05-06 at 598ed19c9b)
+ notes.c: introduce "--[no-]stripspace" option
+ notes.c: append separator instead of insert by pos
+ notes.c: introduce '--separator=<paragraph-break>' option
+ t3321: add test cases about the notes stripspace behavior
+ 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.

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

* pw/rebase-i-after-failure (2023-04-21) 6 commits
- rebase -i: fix adding failed command to the todo list
- rebase: fix rewritten list for failed pick
- rebase --continue: refuse to commit after failed command
- sequencer: factor out part of pick_commits()
- rebase -i: remove patch file after conflict resolution
- rebase -i: move unlink() calls

Various fixes to the behaviour of "rebase -i" when the command got interrupted by conflicting changes.

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

* sl/sparse-write-tree-part-2 (2023-05-08) 1 commit
- t1092: update a write-tree test

Fix-up to a topic already graduated to 'master'.

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

* tb/pack-bitmap-traversal-with-boundary (2023-05-08) 3 commits
- pack-bitmap.c: use commit boundary during bitmap traversal
- pack-bitmap.c: extract fill_in_bitmap()
- object: add object_array initializer helper function

The object traversal using reachability bitmap done by "pack-object" has been tweaked to take advantage of the fact that using "boundary" commits as representative of all the uninteresting ones can save quite a lot of object enumeration.
source: <[email protected]>

* ar/config-count-tests-updates (2023-04-24) 3 commits (merged to 'next' on 2023-05-06 at c585a56132)
+ t1300: add tests for missing keys
+ t1300: check stderr for "ignores pairs" tests
+ t1300: drop duplicate test

Test updates.

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

* ps/fetch-output-format (2023-05-10) 9 commits
- fetch: introduce machine-parseable "porcelain" output format
- fetch: move option related variables into main function
- fetch: lift up parsing of "fetch.output" config variable
- fetch: introduce display_format enum
- fetch: refactor calculation of the display table width
- fetch: print left-hand side when fetching HEAD:foo
- fetch: add a test to exercise invalid output formats
- fetch: split out tests for output format
- fetch: fix --no-recurse-submodules with multi-remote fetches

"git fetch" learned the "--porcelain" option that emits what it did in a machine-parseable format.

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

* sg/retire-unused-cocci (2023-04-20) 1 commit
- cocci: remove 'unused.cocci'

Retire a rather expensive-to-run Coccinelle check patch.

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

* gc/doc-cocci-updates (2023-04-27) 2 commits
- cocci: codify authoring and reviewing practices
- cocci: add headings to and reword README

Update documentation regarding Coccinelle patches.

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

* kh/doc-interpret-trailers-updates (2023-05-01) 4 commits (merged to 'next' on 2023-05-06 at 4e9a640131)
+ doc: interpret-trailers: fix example
+ doc: interpret-trailers: don’t use deprecated config
+ doc: interpret-trailers: use input redirection
+ doc: interpret-trailers: don’t use heredoc in examples

Doc update.

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

* pb/complete-and-document-auto-merge-and-friends (2023-04-14) 5 commits (merged to 'next' on 2023-04-20 at 2728a01622)
+ completion: complete AUTO_MERGE
+ Documentation: document AUTO_MERGE
+ git-merge.txt: modernize word choice in "True merge" section
+ completion: complete REVERT_HEAD and BISECT_HEAD
+ revisions.txt: document more special refs

Document more pseudo-refs and teach the command line completion machinery to complete AUTO_MERGE.

On hold, waiting for a fix-up.
cf. <[email protected]>
source: <[email protected]>

* mh/credential-password-expiry-libsecret (2023-05-05) 1 commit (merged to 'next' on 2023-05-09 at fd898e3756)
+ credential/libsecret: support password_expiry_utc

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

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

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

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

* rj/branch-unborn-in-other-worktrees (2023-03-27) 5 commits (merged to 'next' on 2023-05-06 at c61e9b0672)
+ 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.

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

--------------------------------------------------
[Discarded]

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

Seems to break asan job at CI when merged to 'seen'. cf. <[email protected]>
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.

Discarded without prejudice after more than 6 weeks of inactivity.
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.

Discarded without prejudice after more than 6 weeks of inactivity.
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]>

#1 lore raw
Quoted 9 lines · Junio C Hamano

* ds/merge-tree-use-config (2023-05-10) 1 commit
(merged to 'next' on 2023-05-11 at e0dab53028)
+ merge-tree: load default git config

Allow git forges to disable replace-refs feature while running "git merge-tree".

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

Why was this series merged after only 11 minutes of review window? Are patches from GitHub favored over all others?

As I explained here [1], this is clearly the wrong approach because it ends up calling git_default_config *twice*.

The simplest fix is [2], which simply shuffles one line of code.

The proper fix is to reorganize the way merge_recursive_config() works, so git_xmerge_config is called only once at the right time (before any option parsing). That not only fixes the reported bug, but also makes merge.conflictStyle work for both real merges and trivial merges, along with fixing other issues.

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

Signature · 1 line
Felipe Contreras
#2 lore raw
Quoted 5 lines · Felipe Contreras
Quoted 4 lines · Junio C Hamano

* ds/merge-tree-use-config (2023-05-10) 1 commit
(merged to 'next' on 2023-05-11 at e0dab53028)
+ merge-tree: load default git config

Quoted 8 lines
Quoted 5 lines

Allow git forges to disable replace-refs feature while running "git merge-tree".

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

Why was this series merged after only 11 minutes of review window? Are patches from GitHub favored over all others?

Certainly not.

The reason that this was merged quickly is because both of the first two reviewers had already seen the patch and reviewed it earlier on the git-security list. The patch that Stolee sent was urgent enough to merit a quick merge. But it was not so urgent as to do an embargoed release since the client-side attack isn't interesting, rather it was important for forges which may use merge-tree directly to perform merges.

Thanks,
Taylor

#3 lore raw
Quoted 16 lines · Taylor Blau
Quoted 6 lines · Felipe Contreras
Quoted 4 lines · Junio C Hamano

* ds/merge-tree-use-config (2023-05-10) 1 commit
(merged to 'next' on 2023-05-11 at e0dab53028)
+ merge-tree: load default git config

Quoted 8 lines
Quoted 5 lines

Allow git forges to disable replace-refs feature while running "git merge-tree".

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

Why was this series merged after only 11 minutes of review window? Are patches from GitHub favored over all others?

Quoted 6 lines

Certainly not.

The reason that this was merged quickly is because both of the first two reviewers had already seen the patch and reviewed it earlier on the git-security list. The patch that Stolee sent was urgent enough to merit a quick merge.

There's a quick review, and there is zero review.

Even Derrick Stolee wanted more time for the public list to review the patch.

If the eyeballs of the public list are not wanted after a security review, then why bother sending it here? Just merge it directly from git-security.

I don't think that's desirable though. I share the opinion of Linus Torvalds that security fixes are not special: they are just another fix. Therefore they should go through the same process as any other patch, because just like any other patch, they can introduce regressions, and benefit from more eyeballs.

If "given enough eyeballs, all bugs are shallow", I fail to see why we would want less eyeballs for security fixes. I for one found two issues with the patch, my first comment was a bit more than an hour later, and it's already merged.

I don't think that's ideal.

Cheers.

Signature · 1 line
Felipe Contreras
#4 lore raw

Re: ps/fetch-output-format (was: What's cooking in git.git (May 2023, #04; Thu, 11))

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

* ps/fetch-output-format (2023-05-10) 9 commits
- fetch: introduce machine-parseable "porcelain" output format
- fetch: move option related variables into main function
- fetch: lift up parsing of "fetch.output" config variable
- fetch: introduce display_format enum
- fetch: refactor calculation of the display table width
- fetch: print left-hand side when fetching HEAD:foo
- fetch: add a test to exercise invalid output formats
- fetch: split out tests for output format
- fetch: fix --no-recurse-submodules with multi-remote fetches

Quoted 5 lines

"git fetch" learned the "--porcelain" option that emits what it did in a machine-parseable format.

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

From my point of view the series is ready to be merged now, and Glen has also given his Reviewed-by.

We may add below diff to "fetch: introduce display_format enum". No further changes would be required for any of the other patches as we always explicitly initialize the value already and don't use the UNKNOWN value anywhere.

builtin/fetch.c +0 -1
index 462fc86b99..6583e31e3d 100644
@@ -49,7 +49,6 @@ enum {
 };
 
 enum display_format {
-	DISPLAY_FORMAT_UNKNOWN = 0,
 	DISPLAY_FORMAT_FULL,
 	DISPLAY_FORMAT_COMPACT,
 	DISPLAY_FORMAT_PORCELAIN,

I'm rather indifferent though and feel like re-sending all patches only to change this one line of code generates too much noise. But I'm happy to adjust in order to make your life easier.

Thanks!

Patrick

#5 lore raw

Re: ps/fetch-output-format

Quoted 4 lines · Patrick Steinhardt

We may add below diff to "fetch: introduce display_format enum". No further changes would be required for any of the other patches as we always explicitly initialize the value already and don't use the UNKNOWN value anywhere.

Yup, if I were writing this series from scratch I wouldn't have added the UNKNOWN one myself, but it is so small thing that we can leave it for those who want to do trivial clean-ups after the dust settles (it could even be one of future microprojects).

Quoted 21 lines
builtin/fetch.c +0 -1
index 462fc86b99..6583e31e3d 100644
@@ -49,7 +49,6 @@ enum {
 };
 
 enum display_format {
-	DISPLAY_FORMAT_UNKNOWN = 0,
 	DISPLAY_FORMAT_FULL,
 	DISPLAY_FORMAT_COMPACT,
 	DISPLAY_FORMAT_PORCELAIN,

I'm rather indifferent though and feel like re-sending all patches only to change this one line of code generates too much noise. But I'm happy to adjust in order to make your life easier.

Thanks!

Patrick

#6 lore raw

tl/push-branches-is-an-alias-for-all (Was: Re: What's cooking in git.git (May 2023, #04; Thu, 11))

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

* tl/push-branches-is-an-alias-for-all (2023-05-06) 1 commit (merged to 'next' on 2023-05-09 at 1d8c3e5dcf)
+ push: introduce '--branches' option

"git push --all" gained an alias "git push --branches".

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

This topic breaks the tests for me; it needs a trivial one-character
fix: https://lore.kernel.org/git/[email protected]/

#7 lore raw

Re: tl/push-branches-is-an-alias-for-all

Quoted 6 lines · Elijah Newren
Quoted 5 lines · Junio C Hamano

* tl/push-branches-is-an-alias-for-all (2023-05-06) 1 commit (merged to 'next' on 2023-05-09 at 1d8c3e5dcf)
+ push: introduce '--branches' option

Quoted 7 lines
Quoted 4 lines

"git push --all" gained an alias "git push --branches".

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

This topic breaks the tests for me; it needs a trivial one-character
fix: https://lore.kernel.org/git/[email protected]/

I wonder what made this breakage hidden. I usually run the tests after accepting a series standalone, and I run the full test suite (excluding the ones that depend on things I do not have, like p4) with bash and dash before pushing anything out, and I haven't seen GitHub Actions break due to this.

Ah, it is because t/Makefile essentially uses $(TEST_SHELL_PATH_SQ) to run $@, instead of directly doing "./$@", in both cases with and without probe. This is very much deliberate in that we do not want to rely on and get affected by whichever shell choice the system administrator made when installing "/bin/sh".

I'll apply your patch primarily for consistency (a shell script file that begins with "#!bin/sh" never is a good thing, and everybody else begins with "#!/bin/sh") for now, but I think the justification of your patch is questionable in that we do not want our developers to rely on "./t5583-push-branches.sh" to work [*], as these scripts are designed to run under $(TEST_SHELL_PATH).

Thanks.

[Footnote]

* We could, for example, make t/t[0-9][0-9][0-9]-*.sh scripts consistently use bogus shebang line to catch possible breakage to t/Makefile that bypasses $(TEST_SHELL_PATH) in the future. If that happens, developers who expect ./t5583-push-branches.sh to work will be broken.

#8 lore raw
In reply to Junio C Hamano
Quoted 6 lines · Junio C Hamano

* bc/clone-empty-repo-via-protocol-v0 (2023-05-01) 1 commit
- upload-pack: advertise capabilities when cloning empty repos

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

I'll try to get a v3 out early next week.

Signature · 2 lines
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA