What's cooking in git.git (Sep 2022, #06; Wed, 21)
Here are the topics that have been cooking in my tree. Commits prefixed with '+' are in 'next' (being in 'next' is a sign that a topic is stable enough to be used and are candidate to be in a future release). Commits prefixed with '-' are only in 'seen', and aren't considered "accepted" at all. A topic without enough support may be discarded after a long period of no activity.
Git 2.38-rc1 has been tagged. Now the 'master' branch is in the "regression fixes only" mode (cf. https://tinyurl.com/gitCal) until the final release. I may start dropping patches on a completely new topics that has no relevance on the upcoming release.
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']
* ec/reftable-pass-pq-entry-by-reference (2022-09-15) 1 commit (merged to 'next' on 2022-09-15 at 928e75c7d1)
+ reftable: use a pointer for pq_entry param
Small code clean-up in reftable implementation.
source: <[email protected]>
* fz/help-doublofix (2022-09-16) 1 commit
(merged to 'next' on 2022-09-19 at 3ec5906f4e)
+ help: fix doubled words in explanation for developer interfaces
Typofix for topic already in -rc0.
source: <[email protected]>
* js/typofix (2022-09-21) 2 commits
(merged to 'next' on 2022-09-21 at bb2082c5ef)
+ Documentation: clean up various typos in technical docs
+ Documentation: clean up a few misspelled word typos
Will merge to 'master'.
source: <[email protected]>
* ml/commit-graph-expire-dir-leak-fix (2022-09-19) 1 commit (merged to 'next' on 2022-09-19 at e3211e888e)
+ commit-graph: Fix missing closedir in expire_commit_graphs
A result from opendir() was leaking in the commit-graph expiration codepath, which has been plugged.
source: <[email protected]>
* sg/clean-test-results (2022-09-21) 1 commit (merged to 'next' on 2022-09-21 at 15e66ceb37)
+ t/Makefile: remove 'test-results' on 'make clean'
"make clean" stopped cleaning the test results directory as a side effect of a topic that has nothing to do with "make clean", which has been corrected.
source: <[email protected]>
* sg/parse-options-subcommand (2022-09-21) 1 commit (merged to 'next' on 2022-09-21 at 42650aa5f1)
+ gc: don't translate literal commands
Fix messages incorrectly marked for translation.
source: <[email protected]>
* tz/tech-docs-to-help-fix (2022-09-16) 2 commits
(merged to 'next' on 2022-09-19 at 4a13143da1)
+ api docs: link to html version of api-trace2
+ docs: fix a few recently broken links
Docfix for topic already in -rc0.
source: <[email protected]>
* vd/check-docs-fixes (2022-09-19) 2 commits
(merged to 'next' on 2022-09-21 at 549e699018)
+ version: fix builtin linking & documentation
+ diagnose: add to command-list.txt
Build fix.
source: <[email protected]>
* vd/doc-reviewing-guidelines (2022-09-19) 1 commit (merged to 'next' on 2022-09-21 at c30f77dbe6)
+ Documentation: add ReviewingGuidelines
Just like we have coding guidelines, we now have guidelines for reviewers.
source: <[email protected]>
* vd/scalar-generalize-diagnose (2022-09-21) 2 commits (merged to 'next' on 2022-09-21 at 1102451ebd)
+ builtin/diagnose.c: don't translate the two mode values (merged to 'next' on 2022-09-19 at e03e8a6e4a)
+ diagnose.c: refactor to safely use 'd_type'
Portability fix.
source: <[email protected]>
source: <[email protected]>
--------------------------------------------------
[New Topics]
* dd/retire-efgrep (2022-09-21) 4 commits
(merged to 'next' on 2022-09-21 at 22bc339be1)
+ t: convert fgrep usage to "grep -F"
+ t: convert egrep usage to "grep -E"
+ t: remove \{m,n\} from BRE grep usage
+ CodingGuidelines: allow grep -E
Prepare for GNU [ef]grep that throw warning of their uses.
Will cook in 'next'.
source: <[email protected]>
* ds/maintenance-unregsiter-ignore-missing (2022-09-21) 1 commit
- maintenance: make unregister idempotent
"git maintenance unregister" in a repository that is already been unregistered reported an error.
Somewhat dubious?
cf. <[email protected]>
source: <[email protected]>
* tb/midx-repack-ignore-cruft-packs (2022-09-21) 7 commits
- midx.c: avoid cruft packs with non-zero repack --batch-size
- midx.c: remove unnecessary loop condition
- midx.c: replace xcalloc() with CALLOC_ARRAY()
- midx.c: avoid cruft packs with repack --batch-size=0
- midx.c: prevent expire from removing the cruft pack
- Documentation/git-multi-pack-index.txt: clarify expire behavior
- Documentation/git-multi-pack-index.txt: fix typo
source: <[email protected]>
* ah/fsmonitor-daemon-usage-non-l10n (2022-09-21) 1 commit (merged to 'next' on 2022-09-21 at bc69a73c6c)
+ fsmonitor--daemon: don't translate literal commands
Fix messages incorrectly marked for translation.
Will cook in 'next'.
source: <[email protected]>
* js/merge-tree-in-read-only-repo (2022-09-21) 1 commit
- merge-tree: fix segmentation fault in read-only repositories
In read-only repositories, "git merge-tree" tried to come up with a merge result tree object, which it failed (which is not wrong) and led to a segfault (which is bad), which has been corrected.
Will merge to 'next'.
source: <[email protected]>
--------------------------------------------------
[Stalled]
* es/mark-gc-cruft-as-experimental (2022-08-03) 2 commits
- config: let feature.experimental imply gc.cruftPacks=true
- gc: add tests for --cruft and friends
Enable gc.cruftpacks by default for those who opt into feature.experimental setting.
Expecting a reroll.
cf. <[email protected]> cf. <[email protected]>
source: <[email protected]>
* es/doc-creation-factor-fix (2022-07-28) 2 commits
- range-diff: clarify --creation-factor=<factor>
- format-patch: clarify --creation-factor=<factor>
Expecting a reroll by somebody more familiar with the logic cf. <[email protected]>
source: <[email protected]>
* cw/remote-object-info (2022-08-13) 7 commits
- SQUASH???
- cat-file: add remote-object-info to batch-command
- transport: add client support for object-info
- serve: advertise object-info feature
- protocol-caps: initialization bug fix
- fetch-pack: move fetch initialization
- fetch-pack: refactor packet writing
A client component to talk with the object-info endpoint.
Expecting a reroll.
cf. <[email protected]>
cf. <CAFySSZDvgwbbHCHfyuaqX3tKsr-GjJ9iihygg6rNNe46Ys7_EA@mail.gmail.com>
source: <[email protected]>
--------------------------------------------------
[Cooking]
* so/diff-merges-cleanup (2022-09-16) 3 commits
- diff-merges: clarify log.diffMerges documentation
- diff-merges: cleanup set_diff_merges()
- diff-merges: cleanup func_by_opt()
Code clean-up.
Will merge to 'next'?
source: <[email protected]>
* ja/rebase-i-avoid-amending-self (2022-09-21) 2 commits
- SQUASH??? resurrect previous version of the tests
- sequencer: avoid dropping fixup commit that targets self via commit-ish
"git rebase -i" can mistakenly attempt to apply a fixup to a commit itself, which has been corrected.
Does not seem to pass its own test.
source: <[email protected]>
* ac/fuzzers (2022-09-19) 1 commit
- fuzz: reorganise the path for existing oss-fuzz fuzzers
source: <[email protected]>
* hn/parse-worktree-ref (2022-09-19) 1 commit
- refs: unify parse_worktree_ref() and ref_type()
source: <[email protected]>
* ed/fsmonitor-on-networked-macos (2022-09-21) 6 commits
- fsmonitor: add documentation for allowRemote and socketDir options
- fsmonitor: check for compatability before communicating with fsmonitor
- fsmonitor: deal with synthetic firmlinks on macOS
- fsmonitor: avoid socket location check if using hook
- fsmonitor: relocate socket file if .git directory is remote
- fsmonitor: refactor filesystem checks to common interface
By default, use of fsmonitor on a repository on networked filesystem is disabled. Add knobs to make it workable on macOS.
Will merge to 'next'?
source: <[email protected]>
* rj/branch-edit-description-with-nth-checkout (2022-09-12) 2 commits
- branch: support for shortcuts like @{-1} completed
- branch: refactor "edit_description" code path
"git branch --edit-description @{-1}" is now a way to edit branch description of the branch you were on before switching to the current branch.
Needs review.
source: <[email protected]>
* mj/credential-helper-auth-headers (2022-09-13) 8 commits
- http: set specific auth scheme depending on credential
- http: move proactive auth to first slot creation
- http: store all request headers on active_request_slot
- credential: add WWW-Authenticate header to cred requests
- http: read HTTP WWW-Authenticate response headers
- osxkeychain: clarify that we ignore unknown lines
- netrc: ignore unknown lines (do not die)
- wincred: ignore unknown lines (do not die)
RFC
source: <[email protected]>
* jc/environ-docs (2022-09-16) 5 commits
- environ: GIT_INDEX_VERSION affects not just a new repository
- environ: simplify description of GIT_INDEX_FILE
- environ: GIT_FLUSH should be made a usual Boolean
- environ: explain Boolean environment variables
- environ: document GIT_SSL_NO_VERIFY
Documentation on various Boolean GIT_* environment variables have been clarified.
Will merge to 'next'?
source: <[email protected]>
* rs/diff-caret-bang-with-parents (2022-09-15) 6 commits
- revision: add parents after child for ^!
- revision: rename add_parents_only() to add_nth_parent()
- revision: factor out add_parents()
- revision: factor out add_parent()
- revision: factor out get_commit()
- revision: use strtol_i() for exclude_parent
"git diff rev^!" did not show combined diff to go to the rev from its parents.
Needs review.
source: <[email protected]>
* ab/doc-synopsis-and-cmd-usage (2022-09-07) 34 commits
- tests: start asserting that *.txt SYNOPSIS matches -h output
- doc txt & -h consistency: make "worktree" consistent
- worktree: define subcommand -h in terms of command -h
- reflog doc: list real subcommands up-front
- doc txt & -h consistency: make "commit" consistent
- doc txt & -h consistency: make "diff-tree" consistent
- doc txt & -h consistency: use "[<label>...]" for "zero or more"
- doc txt & -h consistency: make "annotate" consistent
- doc txt & -h consistency: make "stash" consistent
- doc txt & -h consistency: add missing options
- doc txt & -h consistency: use "git foo" form, not "git-foo"
- doc txt & -h consistency: make "bundle" consistent
- doc txt & -h consistency: make "read-tree" consistent
- doc txt & -h consistency: make "rerere" consistent
- doc txt & -h consistency: add missing options and labels
- doc txt & -h consistency: make output order consistent
- doc txt & -h consistency: add or fix optional "--" syntax
- doc txt & -h consistency: fix mismatching labels
- t/helper/test-proc-receive.c: use "<options>", not "<options>..."
- doc txt & -h consistency: use "<options>", not "<options>..."
- stash doc SYNOPSIS & -h: correct padding around "[]()"
- doc txt & -h consistency: correct padding around "[]()"
- doc txt & -h consistency: add missing "]" to bugreport "-h"
- doc txt & -h consistency: add "-z" to cat-file "-h"
- doc txt & -h consistency: fix incorrect alternates syntax
- doc txt & -h consistency: word-wrap
- built-ins: consistently add "\n" between "usage" and options
- doc SYNOPSIS & -h: fix incorrect alternates syntax
- doc SYNOPSIS: consistently use ' for commands
- doc SYNOPSIS: don't use ' for subcommands
- blame: use a more detailed usage_msg_optf() error on bad -L
- bundle: define subcommand -h in terms of command -h
- builtin/bundle.c: use \t, not fix indentation 2-SP indentation
- CodingGuidelines: update and clarify command-line conventions
The short-help text shown by "git cmd -h" and the synopsis text shown at the beginning of "git help cmd" have been made more consistent.
Needs review.
source: <[email protected]>
* ab/coccicheck-incremental (2022-08-31) 9 commits
- spatchcache: add a ccache-alike for "spatch"
- cocci: optimistically use COMPUTE_HEADER_DEPENDENCIES
- cocci: make "coccicheck" rule incremental
- cocci: split off "--all-includes" from SPATCH_FLAGS
- cocci: split off include-less "tests" from SPATCH_FLAGS
- Makefile: split off SPATCH_BATCH_SIZE comment from "cocci" heading
- Makefile: have "coccicheck" re-run if flags change
- Makefile: add ability to TAB-complete cocci *.patch rules
- cocci rules: remove unused "F" metavariable from pending rule
"make coccicheck" is time consuming. It has been made to run more incrementally.
Needs review.
source: <[email protected]>
* tb/diffstat-with-utf8-strwidth (2022-09-14) 1 commit
- diff.c: use utf8_strwidth() to count display width
"git diff --stat" etc. were invented back when everything was ASCII and strlen() was a way to measure the display width of a string; adjust them to compute the display width assuming UTF-8 pathnames.
Expecting a reroll.
source: <[email protected]>
* gc/submodule-clone-update-with-branches (2022-08-29) 6 commits
- clone, submodule update: check out branches
- submodule--helper: refactor up-to-date criterion
- submodule: return target of submodule symref
- t5617: drop references to remote-tracking branches
- repo-settings: add submodule_propagate_branches
- clone: teach --detach option
"git clone --recurse-submodules" and "git submodule update" learns to honor the "propagete branches" option.
Expecting a reroll.
cf. <[email protected]> and others
source: <[email protected]>
* sy/sparse-grep (2022-09-08) 3 commits
- builtin/grep.c: walking tree instead of expanding index with --sparse
- builtin/grep.c: integrate with sparse index
- builtin/grep.c: add --sparse option
"git grep" learned to work better in a sparse checkout.
The design of "--sparse" feels iffy.
cf. <[email protected]>
cf. <CABPp-BF-z72=hY_Jf8h3g95s+wwZOsV_S=+dDNs_AVskQxoaTw@mail.gmail.com>
source: <[email protected]>
* ds/use-platform-regex-on-macos (2022-08-26) 1 commit (merged to 'next' on 2022-09-14 at 80905596d8)
+ grep: fix multibyte regex handling under macOS
With a bit of header twiddling, use the native regexp library on macOS instead of the compat/ one.
Will cook in 'next'.
cf. <[email protected]>
source: <[email protected]>
* ds/bundle-uri-3 (2022-09-09) 10 commits
- bundle-uri: fetch a list of bundles
- bundle-uri: limit recursion depth for bundle lists
- bundle-uri: parse bundle list in config format
- bundle-uri: unit test "key=value" parsing
- bundle-uri: create "key=value" line parsing
- bundle-uri: create base key-value pair parsing
- bundle-uri: create bundle_list struct and helpers
- bundle-uri: use plain string in find_temp_filename()
- bundle-uri: short-circuit capability parsing
- Merge branch 'ds/bundle-uri-clone' into ds/bundle-uri-3
Define the logical elements of a "bundle list", data structure to store them in-core, format to transfer them, and code to parse them.
Needs review.
source: <[email protected]>
* js/cmake-updates (2022-08-24) 5 commits
- cmake: increase time-out for a long-running test
- cmake: avoid editing t/test-lib.sh
- add -p: avoid ambiguous signed/unsigned comparison
- cmake: copy the merge tools for testing
- cmake: make it easier to diagnose regressions in CTest runs
Update to build procedure with VS using CMake/CTest.
Expecting a reroll.
cf. <[email protected]> cf. <[email protected]> and others
source: <[email protected]>
* pw/rebase-keep-base-fixes (2022-09-07) 7 commits
- rebase --keep-base: imply --no-fork-point
- rebase --keep-base: imply --reapply-cherry-picks
- rebase: factor out branch_base calculation
- rebase: rename merge_base to branch_base
- rebase: store orig_head as a commit
- t3416: set $EDITOR in subshell
- t3416: tighten two tests
"git rebase --keep-base" used to discard the commits that are already cherry-picked to the upstream, even when "keep-base" meant that the base, on top of which the history is being rebuilt, does not yet include these cherry-picked commits. The --keep-base option now implies --reapply-cherry-picks and --no-fork-point options.
Expecting a reroll.
cf. <[email protected]>
source: <[email protected]>
* ag/merge-strategies-in-c (2022-08-10) 14 commits
- sequencer: use the "octopus" strategy without forking
- sequencer: use the "resolve" strategy without forking
- merge: use the "octopus" strategy without forking
- merge: use the "resolve" strategy without forking
- merge-octopus: rewrite in C
- merge-recursive: move better_branch_name() to merge.c
- merge-resolve: rewrite in C
- merge-one-file: rewrite in C
- update-index: move add_cacheinfo() to read-cache.c
- merge-index: add a new way to invoke `git-merge-one-file'
- merge-index: drop the index
- merge-index: libify merge_one_path() and merge_all()
- t6060: add tests for removed files
- t6060: modify multiple files to expose a possible issue with merge-index
An attempt to rewrite remaining merge strategies from shell to C.
Needs more work.
At the minimum, we should lose 11/14 and possibly 08/14. cf. <[email protected]>
source: <[email protected]>
* po/glossary-around-traversal (2022-07-09) 3 commits
- glossary: add reachability bitmap description
- glossary: add commit graph description
- glossary: add Object DataBase (ODB) abbreviation
The glossary entries for "commit-graph file" and "reachability bitmap" have been added.
Expecting a reroll.
cf. <[email protected]>
source: <[email protected]>
* js/bisect-in-c (2022-08-30) 17 commits
- bisect: no longer try to clean up left-over .git/head-name files
- bisect: remove Cogito-related code
- Turn git bisect into a full built-in
- bisect: move even the command-line parsing to bisect--helper
- bisect--helper: make state optional
- bisect--helper: calling bisect_state() without an argument is a bug
- bisect: avoid double-quoting when printing the failed command
- bisect run: fix the error message
- bisect: verify that a bogus option won't try to start a bisection
- bisect--helper: migrate to OPT_SUBCOMMAND()
- bisect--helper: make the order consistently argc, argv
- bisect--helper: make terms an explicit singleton
- bisect--helper: simplify exit code computation
- bisect--helper: really retire --bisect-autostart
- bisect--helper: really retire --bisect-next-check
- bisect--helper: retire the --no-log option
- Merge branch 'sg/parse-options-subcommand' into js/bisect-in-c
Final bits of "git bisect.sh" have been rewritten in C.
Needs review.
cf. <[email protected]>
source: <[email protected]>