I Use This!
Very High Activity

News

Analyzed about 4 hours ago. based on code collected 1 day ago.
Posted 12 months ago by Felipe Contreras
Hello, git-completion is a friendly fork of the official Git completion and prompt scripts for zsh and bash. The main goal is to provide a more up-to-date completion for zsh (I'm the developer), which is basically just a wrapper around the bash ... [More] completion. Compared to Git upstream, you get many benefits for zsh, but there's also benefits for bash users too. Since the last version, the tests for zsh have been simplified, the code has been rebased on top of Git 2.40, and the internal structure of the project has been completely revamped. In total there are 51 patches [1] on top of git's master. For installation instructions and more information: check the wiki [2], but basically. * make install * fpath=(~/.local/share/git-completion/zsh $fpath) And for Arch Linux users I've created an AUR package: [3]. Cheers. [1] https://lore.kernel.org/git/[email protected]/T/#m60780d9b6e03bed085ecb5b30c72f6bae67ff670 [2] https://github.com/felipec/git-completion/wiki/Zsh [3] https://aur.archlinux.org/packages/git-completion/ -- Felipe Contreras [Less]
Posted 12 months ago by Mike Hommey
Hi, Git-cinnabar is a git remote helper to interact with mercurial repositories. It allows to clone, pull and push from/to mercurial remote repositories, using git. Code on https://github.com/glandium/git-cinnabar This release is available on ... [More] https://github.com/glandium/git-cinnabar/releases/tag/0.6.0 What's new since 0.5.11? - Full rewrite of the Python parts of git-cinnabar in Rust. - Push performance is between twice and 10 times faster than 0.5.x, depending on scenarios. - Based on git 2.38.0. - `git cinnabar fetch` now accepts a `--tags` flag to fetch tags. - `git cinnabar bundle` now accepts a `-t` flag to give a specific bundlespec. - `git cinnabar rollback` now accepts a `--candidates` flag to list the metadata sha1 that can be used as target of the rollback. - `git cinnabar rollback` now also accepts a `--force` flag to allow any commit sha1 as metadata. - `git cinnabar` now has a `self-update` subcommand that upgrades it when a new version is available. The subcommand is only available when building with the `self-update` feature (enabled on prebuilt versions of git-cinnabar). - Disabled inexact copy/rename detection, that was enabled by accident. What's new since 0.6.0rc2? - Fixed use-after-free in metadata initialization. - Look for the new location of the CA bundle in git-windows 2.40. Mike [Less]
Posted about 1 year ago by Felipe Contreras
Hello, Version 1.2.0 of Sharness [1] -- the test harness library derived from Git's test lib -- is released. This release contains a few features from upstream and many improvements. * Moved functions into lib-sharness/functions.sh * Add simple ... [More] example * Add support for zsh * Clarify the purpose of `aggregate-results.sh` * Add `SHARNESS_TEST_OUTDIR` * Add `SHARNESS_TEST_NB` * Add `-x` option for tracing commands * Add vim syntax file * Minor bugfixes Many thanks to all that contributed to this release: 1 Albert Chu 1 Chris Dunlap 39 Christian Couder 2 Eric Curtin 72 Felipe Contreras 1 Marcel Schilling 1 Rafael Ascensão 1 Scott Bronson 1 Tristan Le Guern The previous release was v1.1.0 in September 2018. To find more information about the release, including download locations, check the GitHub Release [3]. To find more information about Sharness, you can check the Sharness site [4]. Christian Couder has decided to transfer the ownership of the project [2] to me, Felipe Contreras. Thank you Christian for keeping the project afloat these years and your many contributions. Enjoy. [1] https://github.com/felipec/sharness [2] https://github.com/felipec/sharness/commit/00d30002218928d11d27d7c308909baf6da6da8b [3] https://github.com/felipec/sharness/releases/tag/v1.2.0 [4] https://felipec.github.io/sharness/ -- Felipe Contreras [Less]
Posted about 1 year ago by Johannes Schindelin
Dear Git users, I hereby announce that Git for Windows 2.40.0 is available from: https://gitforwindows.org/ Changes since Git for Windows v2.39.2 (February 14th 2023) As announced previously, Git for Windows will drop support for Windows 7 ... [More] and for Windows 8 in one of the next versions, following Cygwin's and MSYS2's lead (Git for Windows relies on MSYS2 for components such as Bash and Perl). Also following the footsteps of the MSYS2 and Cygwin projects on which Git for Windows depends, the 32-bit variant of Git for Windows is nearing its end of support. New Features * Comes with Git v2.40.0. * In the olden Git days, there were "dashed" Git commands (e.g. git-commit instead of git commit). These haven't been supported for interactive use in a really, really long time. But they still worked in Git aliases and hooks ("scripts"). Since Git v1.5.4 (released on February 2nd, 2008), it was discouraged/deprecated to use dashed Git commands even in scripts. As of this version, Git for Windows no longer supports these dashed commands. * Comes with tig v2.5.8. * Comes with Bash v5.2 patchlevel 15. * Comes with OpenSSL v1.1.1t. * Comes with GNU TLS v3.8.0. * Comes with cURL v7.88.1. * Comes with libfido2 v1.13.0. * Comes with Git Credential Manager v2.0.935. Bug Fixes * Some commands mishandled absolute paths near the drive root (e.g. scalar unregister C:/foo), which has been fixed. * When trying to call Cygwin (or for that matter, MSYS2) programs from Git Bash, users would frequently be greeted with cryptic error messages about a "cygheap" or even just an even more puzzling exit code 127. Many of these calls now succeed, allowing basic interactions. While it is still not possible for, say, Cygwin's vim.exe to interact with the Git Bash's terminal window, it is now possible for Cygwin's zstd.exe in conjuction with Git for Windows' tar.exe to handle .tar.zst archives. Git-2.40.0-64-bit.exe | ff8954afb29814821e9e3759a761bdac49186085e916fa354bf8706e3c7fe7a2 Git-2.40.0-32-bit.exe | 9b14e05c3ea00c51dc38838db23fccc6ccb21bfd42ed078bf406857fb47688d6 PortableGit-2.40.0-64-bit.7z.exe | 9031c171fccbf30113b8a9b93b9580b4aca8502dcf2b22c5cd3205212e895b13 PortableGit-2.40.0-32-bit.7z.exe | dc4b824412ee814fb310511921f3748631f3e6cd64c44866e38b3811e8e6dd01 MinGit-2.40.0-64-bit.zip | f3e898f8856e80c66b367c80396c6debc46ae0b258ab9fd00ee08b4812c8f987 MinGit-2.40.0-32-bit.zip | 51f40ccffc08485c80bbe9d54a4ad08e1ef47c6198dc0801039569a8468a6d02 MinGit-2.40.0-busybox-64-bit.zip | 2051be40681824f0e582b2fab362cbd7d3cc510fca9997582d8baf6fa30f3fbc MinGit-2.40.0-busybox-32-bit.zip | 1a1799effcc53c83bf9c57783ae3ef761dfe61bceaeaa179d205456f541931b0 Git-2.40.0-64-bit.tar.bz2 | d39c1d419479480fc7c1944e19a91b0ca331a4942cdb7c156cf226bba34d2af8 Git-2.40.0-32-bit.tar.bz2 | 9f33238ed9c75f7a61fbcb7f449eaa40f871e0f59816178c0fca95d16d6827d3 Ciao, Johannes [Less]
Posted about 1 year ago by Junio C Hamano
The latest feature release Git v2.40.0 is now available at the usual places. It is comprised of 472 non-merge commits since v2.39.0, contributed by 88 people, 30 of which are new faces [*]. The tarballs are found at: ... [More] https://www.kernel.org/pub/software/scm/git/ The following public repositories all have a copy of the 'v2.40.0' tag and the 'master' branch that the tag points at: url = https://git.kernel.org/pub/scm/git/git url = https://kernel.googlesource.com/pub/scm/git/git url = git://repo.or.cz/alt-git.git url = https://github.com/gitster/git New contributors whose contributions weren't in v2.39.0 are as follows. Welcome to the Git development community! Adam Szkoda, Alison Winters, Ashutosh Pandey, Carl Baldwin, Daniël Haazen, Drew Noakes, Eric Sesterhenn, Gwyneth Morgan, Harshil-Jani, Hubert Jasudowicz, idriss fekir, Kostya Farber, Marco Nenciarini, Markus Vervier, Matheus Tavares Bernardino, Mathias Krause, Pat LaVarre, Peter Grayson, Rudy Rigot, Seija, Seija Kijin, Simon Gerber, Thierry Reding, [email protected], Wes Lord, Yukai Chou, Yutaro Ohno, yvvdwf, Zhang Yi, and 孟子易. Returning contributors who helped this release are as follows. Thanks for your continued support. Ævar Arnfjörð Bjarmason, Alexander Shopov, Andrei Rybak, Bagas Sanjaya, Calvin Wan, Carlo Marcelo Arenas Belón, Christian Couder, Chris. Webster, Derrick Stolee, Đoàn Trần Công Danh, Elijah Newren, Emily Shaffer, Emir SARI, Eric Sunshine, Eric Wong, Erik Cervin Edin, Fangyi Zhou, Glen Choo, Jean-Noël Avila, Jeff Hostetler, Jeff King, Jiang Xin, Joern Schneeweisz, Johannes Schindelin, Johannes Sixt, John Cai, Jonathan Tan, Jordi Mas, Junio C Hamano, Karthik Nayak, Kevin Willford, Kyle Meyer, Kyle Zhao, Lars Kellogg-Stedman, Martin Ågren, Matthias Aßhauer, Matthias Rüster, M Hickford, Patrick Steinhardt, Peter Krefting, Philip Oakley, Philippe Blain, Phillip Wood, Ralf Thielow, Randall S. Becker, René Scharfe, Rubén Justo, Sean Allred, Siddharth Asthana, Sven Strickroth, SZEDER Gábor, Taylor Blau, Teng Long, Torsten Bögershausen, William Sprent, Yoichi Nakayama, ZheNing Hu, and 依云. [*] We are counting not just the authorship contribution but issue reporting, mentoring, helping and reviewing that are recorded in the commit trailers. ---------------------------------------------------------------- Git v2.40 Release Notes ======================= UI, Workflows & Features * "merge-tree" learns a new `--merge-base` option. * "git jump" (in contrib/) learned to present the "quickfix list" to its standard output (instead of letting it consumed by the editor it invokes), and learned to also drive emacs/emacsclient. * "git var UNKNOWN_VARIABLE" and "git var VARIABLE" with the variable given an empty value used to behave identically. Now the latter just gives an empty output, while the former still gives an error message. * Introduce a case insensitive mode to the Bash completion helpers. * The advice message given by "git status" when it takes long time to enumerate untracked paths has been updated. * Just like "git var GIT_EDITOR" abstracts the complex logic to choose which editor gets used behind it, "git var" now give support to GIT_SEQUENCE_EDITOR. * "git format-patch" learned to honor format.mboxrd even when sending patches to the standard output stream, * 'cat-file' gains mailmap support for its '--batch-check' and '-s' options. * Conditionally skip the pre-applypatch and applypatch-msg hooks when applying patches with 'git am'. * Introduce an optional configuration to allow the trailing hash that protects the index file from bit flipping. * "git check-attr" learned to take an optional tree-ish to read the .gitattributes file from. * "scalar" learned to give progress bar. * "grep -P" learned to use Unicode Character Property to grok character classes when processing \b and \w etc. * "git rebase" often ignored incompatible options instead of complaining, which has been corrected. * "scalar" warns but continues when its periodic maintenance feature cannot be enabled. * The bundle-URI subsystem adds support for creation-token heuristics to help incremental fetches. * Userdiff regexp update for Java language. * "git fetch --jobs=0" used to hit a BUG(), which has been corrected to use the available CPUs. * An invalid label or ref in the "rebase -i" todo file used to trigger an runtime error. SUch an error is now diagnosed while the todo file is parsed. * The "diff" drivers specified by the "diff" attribute attached to paths can now specify which algorithm (e.g. histogram) to use. * "git range-diff" learned --abbrev= option. * "git archive HEAD^{tree}" records the paths with the current timestamp in the archive, making it harder to obtain a stable output. The command learned the --mtime option to specify an arbitrary timestamp (e.g. --mtime="@0 +0000" for the epoch). * The credential subsystem learned that a password may have an explicit expiration. * The format.attach configuration variable lacked a way to override a value defined in a lower-priority configuration file (e.g. the system one) by redefining it in a higher-priority configuration file. Now, setting format.attach to an empty string means show the patch inline in the e-mail message, without using MIME attachment. This is a backward incompatible change. Performance, Internal Implementation, Development Support etc. * `git bisect` becomes a builtin. * The pack-bitmap machinery is taught to log the paths of redundant bitmap(s) to trace2 instead of stderr. * Use the SHA1DC implementation on macOS, just like other platforms, by default. * Even in a repository with promisor remote, it is useless to attempt to lazily attempt fetching an object that is expected to be commit, because no "filter" mode omits commit objects. Take advantage of this assumption to fail fast on errors. * Stop using "git --super-prefix" and narrow the scope of its use to the submodule--helper. * Stop running win+VS build by default. * CI updates. We probably want a clean-up to move the long shell script embedded in yaml file into a separate file, but that can come later. * Use `git diff --no-index` as a test_cmp on Windows. We'd probably need to revisit "do we really want to, and have to, lose CRLF vs LF?" later, at which time we may be able to further clean this up by replacing "git diff --no-index" with "diff -u". * Avoid unnecessary builds in CI, with settings configured in ci-config. * Plug leaks in sequencer subsystem and its users. * In-tree .gitattributes update to match the way we recommend our users to mark a file as text. (merge 1f34e0cd3d po/attributes-text later to maint). * Finally retire the scripted "git add -p/-i" implementation and have everybody use the one reimplemented in C. Fixes since v2.39 ----------------- * Various leak fixes. * Fix a bug where `pack-objects` would not respect multiple `--filter` arguments when invoked directly. (merge d4f7036887 rs/multi-filter-args later to maint). * Make fsmonitor more robust to avoid the flakiness seen in t7527. (merge 6692d45477 jh/t7527-unflake-by-forcing-cookie later to maint). * Stop using deprecated macOS API in fsmonitor. (merge b0226007f0 jh/fsmonitor-darwin-modernize later to maint). * Redefining system functions for a few functions did not follow our usual "implement git_foo() and #define foo(args) git_foo(args)" pattern, which has broken build for some folks. * The way the diff machinery prepares the options array for the parse_options API has been refactored to avoid resource leaks. (merge 189e97bc4b rs/diff-parseopts later to maint). * Correct pthread API usage. (merge 786e67611d sx/pthread-error-check-fix later to maint). * The code to auto-correct a misspelt subcommand unnecessarily called into git_default_config() from the early config codepath, which was a no-no. This has bee corrected. (merge 0918d08887 sg/help-autocorrect-config-fix later to maint). * "git http-fetch" (which is rarely used) forgot to identify itself in the trace2 output. (merge 7abb43cbc8 jt/http-fetch-trace2-report-name later to maint). * The output from "git diff --stat" on an unmerged path lost the terminating LF in Git 2.39, which has been corrected. (merge 209d9cb011 pg/diff-stat-unmerged-regression-fix later to maint). * "git pull -v --recurse-submodules" attempted to pass "-v" down to underlying "git submodule update", which did not understand the request and barfed, which has been corrected. (merge 6f65f84766 ss/pull-v-recurse-fix later to maint). * When given a pattern that matches an empty string at the end of a line, the code to parse the "git diff" line-ranges fell into an infinite loop, which has been corrected. * Fix the sequence to fsync $GIT_DIR/packed-refs file that forgot to flush its output to the disk.. * Fix to a small regression in 2.38 days. * "git diff --relative" did not mix well with "git diff --ext-diff", which has been corrected. * The logic to see if we are using the "cone" mode by checking the sparsity patterns has been tightened to avoid mistaking a pattern that names a single file as specifying a cone. * Deal with a few deprecation warning from cURL library. * Doc update for environment variables set when hooks are invoked. * Document ORIG_HEAD a bit more. * "git ls-tree --format='%(path) %(path)' $tree $path" showed the path three times, which has been corrected. * Remove "git env--helper" and demote it to a test-tool subcommand. (merge 4a1baacd46 ab/test-env-helper later to maint). * Newer regex library macOS stopped enabling GNU-like enhanced BRE, where '\(A\|B\)' works as alternation, unless explicitly asked with the REG_ENHANCED flag. "git grep" now can be compiled to do so, to retain the old behaviour. * Pthread emulation on Win32 leaked thread handle when a thread is joined. (merge 238a9dfe86 sk/win32-close-handle-upon-pthread-join later to maint). * "git send-email -v 3" used to be expanded to "git send-email --validate 3" when the user meant to pass them down to "format-patch", which has been corrected. (merge 8774aa56ad km/send-email-with-v-reroll-count later to maint). * Document that "branch -f " disables only the safety to avoid recreating an existing branch. * "git fetch ", when "" of remotes lists the same remote twice, unnecessarily failed when parallel fetching was enabled, which has been corrected. (merge 06a668cb90 cw/fetch-remote-group-with-duplication later to maint). * Clarify how "checkout -b/-B" and "git branch [-f]" are similar but different in the documentation. * "git hash-object" now checks that the resulting object is well formed with the same code as "git fsck". (merge 8e4309038f jk/hash-object-fsck later to maint). * Improve the error message given when private key is not loaded in the ssh agent in the codepath to sign with an ssh key. (merge dce7b31126 as/ssh-signing-improve-key-missing-error later to maint). * Adjust "git request-pull" to strip embedded signature from signed tags to notice non-PGP signatures. (merge a9cad02538 gm/request-pull-with-non-pgp-signed-tags later to maint). * Remove support for MSys, which now lags way behind MSys2. (merge 2987407f3c hj/remove-msys-support later to maint). * Fix use of CreateThread() API call made early in the windows start-up code. (merge 592bcab61b sk/winansi-createthread-fix later to maint). * "git pack-objects" learned to release delta-island bitmap data when it is done using it, saving peak heap memory usage. (merge 647982bb71 ew/free-island-marks later to maint). * In an environment where dynamically generated code is prohibited to run (e.g. SELinux), failure to JIT pcre patterns is expected. Fall back to interpreted execution in such a case. (merge 50b6ad55b0 cb/grep-fallback-failing-jit later to maint). * "git name-rev" heuristics update. (merge b2182a8730 en/name-rev-make-taggerdate-much-less-important later to maint). * Remove more remaining uses of macros that relies on the_index singleton instance without explicitly spelling it out. * Remove unnecessary explicit sizing of strbuf. (merge 93ea118bed rs/cache-tree-strbuf-growth-fix later to maint). * Doc update. (merge d9ec3b0dc0 jk/doc-ls-remote-matching later to maint). * Error messages given upon a signature verification failure used to discard the errors from underlying gpg program, which has been corrected. (merge ad6b320756 js/gpg-errors later to maint). * Update --date=default documentation. (merge 9deef088ae rd/doc-default-date-format later to maint). * A test helper had a single write(2) of 256kB, which was too big for some platforms (e.g. NonStop), which has been corrected by using xwrite() wrapper appropriately. (merge 58eab6ff13 jc/genzeros-avoid-raw-write later to maint). * sscanf(3) used in "git symbolic-ref --short" implementation found to be not working reliably on macOS in UTF-8 locales. Rewrite the code to avoid sscanf() altogether to work it around. (merge 613bef56b8 jk/shorten-unambiguous-ref-wo-sscanf later to maint). * Various fix-ups on HTTP tests. (merge 8f2146dbf1 jk/http-test-fixes later to maint). * Fixes to code that parses the todo file used in "rebase -i". (merge 666b6e1135 pw/rebase-i-parse-fix later to maint). * Test library clean-up. (merge c600a91c94 ar/test-lib-remove-stale-comment later to maint). * Other code cleanup, docfix, build fix, etc. (merge 4eb1ccecd4 dh/mingw-ownership-check-typofix later to maint). (merge f95526419b ar/typofix-gitattributes-doc later to maint). (merge 27875aeec9 km/doc-branch-start-point later to maint). (merge 35c194dc57 es/t1509-root-fixes later to maint). (merge 7b341645e3 pw/ci-print-failure-name-fix later to maint). (merge bcb71d45bf jx/t1301-updates later to maint). (merge ebdc46c242 jc/doc-diff-patch.txt later to maint). (merge a87a20cbb4 ar/test-cleanup later to maint). (merge f5156f1885 ar/bisect-doc-update later to maint). (merge fca2d86c97 jk/interop-error later to maint). (merge cf4936ed74 tl/ls-tree-code-clean-up later to maint). (merge dcb47e52b0 en/t6426-todo-cleanup later to maint). (merge 5b8db44bdd jc/format-patch-v-unleak later to maint). (merge 590b636737 jk/hash-object-literally-fd-leak later to maint). (merge 5458ba0a4d tb/t0003-invoke-dd-more-portably later to maint). (merge 70661d288b ar/markup-em-dash later to maint). (merge e750951e74 en/ls-files-doc-update later to maint). (merge 4f542975d1 mh/doc-credential-cache-only-in-core later to maint). (merge 3a2ebaebc7 gc/index-format-doc later to maint). (merge b08edf709d jk/httpd-test-updates later to maint). (merge d85e9448dd wl/new-command-doc later to maint). (merge d912a603ed kf/t5000-modernise later to maint). (merge e65b868d07 rs/size-t-fixes later to maint). (merge 3eb1e1ca9a ab/config-h-remove-unused later to maint). (merge d390e08076 cw/doc-pushurl-vs-url later to maint). (merge 567342fc77 rs/ctype-test later to maint). (merge d35d8f2e7a ap/t2015-style-update later to maint). ---------------------------------------------------------------- Changes since v2.39.0 are as follows: Adam Szkoda (1): ssh signing: better error message when key not in agent Alexander Shopov (1): l10n: bg.po: Updated Bulgarian translation (5490t) Alison Winters (2): completion: add optional ignore-case when matching refs completion: add case-insensitive match of pseudorefs Andrei Rybak (12): gitattributes.txt: fix typo in "comma separated" *: fix typos which duplicate a word git-bisect-lk2009: update java code conventions link git-bisect-lk2009: update nist report link t6003: uncomment test '--max-age=c3, --topo-order' t6422: drop commented out code t7527: use test_when_finished in 'case insensitive+preserving' Documentation: render dash correctly userdiff: support Java type parameters userdiff: support Java record types userdiff: support Java sealed classes test-lib: drop comment about test_description Ashutosh Pandey (1): t2015-checkout-unborn.sh: changes the style for cd Bagas Sanjaya (1): l10n: po-id for 2.40 (round 1) Calvin Wan (2): fetch: fix duplicate remote parallel fetch bug Documentation: clarify multiple pushurls vs urls Carlo Marcelo Arenas Belón (2): test-lib: add prerequisite for 64-bit platforms grep: correctly identify utf-8 characters with \{b,w} in -P Chris. Webster (3): ci (check-whitespace): suggest fixes for errors ci (check-whitespace): add links to job output ci (check-whitespace): move to actions/checkout@v3 Daniël Haazen (1): mingw: fix typo in an error message from ownership check Derrick Stolee (25): transport: rename got_remote_heads bundle-uri: serve bundle.* keys from config strbuf: introduce strbuf_strip_file_from_path() bundle-uri: allow relative URLs in bundle lists bundle-uri: download bundles from an advertised list clone: unbundle the advertised bundles hashfile: allow skipping the hash function read-cache: add index.skipHash config option test-lib-functions: add helper for trailing hash features: feature.manyFiles implies fast index writes t1600: fix racy index.skipHash test t: allow 'scalar' in test_must_fail t921*: test scalar behavior starting maintenance scalar: only warn when background maintenance fails bundle: test unbundling with incomplete history bundle: verify using check_connected() t5558: add tests for creationToken heuristic bundle-uri: parse bundle.heuristic=creationToken bundle-uri: parse bundle..creationToken values bundle-uri: download in creationToken order clone: set fetch.bundleURI if appropriate bundle-uri: drop bundle.flag from design doc fetch: fetch from an external bundle URI bundle-uri: store fetch.bundleCreationToken bundle-uri: test missing bundles with heuristic Elijah Newren (16): ls-files: add missing documentation for --resolve-undo option ls-files: clarify descriptions of file selection options ls-files: clarify descriptions of status tags for -t ls-files: guide folks to --exclude-standard over other --exclude* options t6426: fix TODO about making test more comprehensive rebase: mark --update-refs as requiring the merge backend rebase: flag --apply and --merge as incompatible rebase: remove --allow-empty-message from incompatible opts rebase: fix docs about incompatibilities with --root rebase: fix incompatiblity checks for --[no-]reapply-cherry-picks rebase: add coverage of other incompatible options rebase: clarify the OPT_CMDMODE incompatibilities rebase: fix formatting of rebase --reapply-cherry-picks option in docs rebase: put rebase_options initialization in single place rebase: provide better error message for apply options vs. merge config name-rev: fix names by dropping taggerdate workaround Emily Shaffer (4): run-command: allow stdin for run_processes_parallel hook API: support passing stdin to hooks, convert am's 'post-rewrite' sequencer: use the new hook API for the simpler "post-rewrite" call hook: support a --to-stdin= option Emir SARI (1): l10n: tr: Update Turkish translations for v.2.40.0 Eric Sunshine (4): t1509: fix failing "root work tree" test due to owner-check t1509: make "setup" test more robust t1509: facilitate repeated script invocations githooks: discuss Git operations in foreign repositories Eric Wong (2): format-patch: support format.mboxrd with --stdout delta-islands: free island_marks and bitmaps Fangyi Zhou (1): l10n: zh_CN v2.40.0 round 1 Glen Choo (2): read-tree + fetch tests: test failing "--super-prefix" interaction docs: document zero bits in index "mode" Gwyneth Morgan (2): request-pull: filter out SSH/X.509 tag signatures signature-format.txt: note SSH and X.509 signature delimiters Harshil-Jani (2): mingw: remove duplicate `USE_NED_ALLOCATOR` directive mingw: remove msysGit/MSYS1 support Jean-Noël Avila (3): l10n: fr: fix some typos l10n: fr: v2.40.0 rnd 1 l10n: fr: v2.40.0 rnd 2 Jeff Hostetler (2): fsmonitor: fix race seen in t7527 fsmonitor: eliminate call to deprecated FSEventStream function Jeff King (74): git-jump: move valid-mode check earlier pack-bitmap.c: break out of the bitmap loop early if not tracing pack-bitmap.c: trace bitmap ignore logs when midx-bitmap is found git-compat-util: avoid redefining system function names git-compat-util: undefine system names before redeclaring them server_supports_v2(): use a separate function for die_on_error ls-refs: use repository parameter to iterate refs blob: drop unused parts of parse_blob_buffer() list-objects: drop process_gitlink() function ws: drop unused parameter from ws_blank_line() xdiff: drop unused parameter in def_ff() xdiff: mark unused parameter in xdl_call_hunk_func() diff: mark unused parameters in callbacks list-objects-filter: mark unused parameters in virtual functions userdiff: mark unused parameter in internal callback ref-filter: reject arguments to %(HEAD) ref-filter: factor out "%(foo) does not take arguments" errors ref-filter: factor out "unrecognized %(foo) arg" errors ref-filter: truncate atom names in error messages ref-filter: convert email atom parser to use err_bad_arg() test-bundle-uri: drop unused variables diff: use filespec path to set up tempfiles for ext-diff diff: clean up external-diff argv setup diff: drop "name" parameter from prepare_temp_file() convert trivial uses of strncmp() to starts_with() convert trivial uses of strncmp() to skip_prefix() object-file: inline calls to read_object() streaming: inline call to read_object_file_extended() read_object_file_extended(): drop lookup_replace option repo_read_object_file(): stop wrapping read_object_file_extended() packfile: inline custom read_object() object-file: fix indent-with-space t/interop: report which vanilla git command failed http-push: prefer CURLOPT_UPLOAD to CURLOPT_PUT http: prefer CURLOPT_SEEKFUNCTION to CURLOPT_IOCTLFUNCTION http: support CURLOPT_PROTOCOLS_STR t1007: modernize malformed object tests t1006: stop using 0-padded timestamps t7030: stop using invalid tag name t: use hash-object --literally when created malformed objects fsck: provide a function to fsck buffer without object struct hash-object: use fsck for object checks hash-object: fix descriptor leak with --literally fsck: do not assume NUL-termination of buffers t/lib-httpd: bump required apache version to 2.2 t/lib-httpd: bump required apache version to 2.4 t/lib-httpd: drop SSLMutex config t/lib-httpd: increase ssl key size to 2048 bits http-push: prefer CURLOPT_UPLOAD to CURLOPT_PUT http: prefer CURLOPT_SEEKFUNCTION to CURLOPT_IOCTLFUNCTION http: support CURLOPT_PROTOCOLS_STR doc/ls-remote: cosmetic cleanups for examples doc/ls-remote: clarify pattern format shorten_unambiguous_ref(): avoid integer truncation shorten_unambiguous_ref(): use NUM_REV_PARSE_RULES constant shorten_unambiguous_ref(): avoid sscanf() add basic http proxy tests t0066: drop setup of "dir5" t5541: run "used receive-pack service" test earlier t5541: stop marking "used receive-pack service" test as v0 only t5541: simplify and move "no empty path components" test t5551: drop redundant grep for Accept-Language t5551: lower-case headers in expected curl trace t5551: handle HTTP/2 when checking curl trace t5551: stop forcing clone to run with v0 protocol t5551: handle v2 protocol when checking curl trace t5551: handle v2 protocol in upload-pack service test t5551: simplify expected cookie file t5551: handle v2 protocol in cookie test t5551: drop curl trace lines without headers t/lib-httpd: respect $HTTPD_PROTO in expect_askpass() t/lib-httpd: enable HTTP/2 "h2" protocol, not just h2c t5559: fix test failures with LIB_HTTPD_SSL t5559: make SSL/TLS the default Jiang Xin (3): t1301: fix wrong template dir for git-init t1301: use test_when_finished for cleanup t1301: do not change $CWD in "shared=all" test case Johannes Schindelin (24): bisect--helper: handle states directly Turn `git bisect` into a full built-in t0021: use Windows-friendly `pwd` tests(mingw): avoid very slow `mingw_test_cmp` ci: only run win+VS build & tests in Git for Windows' fork bisect--helper: simplify exit code computation bisect: verify that a bogus option won't try to start a bisection bisect run: fix the error message bisect: remove Cogito-related code bisect: no longer try to clean up left-over `.git/head-name` files fsck: document the new `gitattributes` message IDs attr: adjust a mismatched data type attr: adjust a mismatched data type Git 2.31.7 Git 2.32.6 Git 2.33.7 Git 2.34.7 Git 2.35.7 Git 2.36.5 Git 2.37.6 Git 2.38.4 Git 2.39.2 t7510: add a test case that does not need gpg gpg: do show gpg's error message upon failure Johannes Sixt (1): t3920: don't ignore errors of more than one command with `|| true` John Cai (4): docs: link generating patch sections attr: fix instructions on how to check attrs diff: consolidate diff algorithm option parsing diff: teach diff to read algorithm from diff driver Jonathan Tan (5): http-fetch: invoke trace2_cmd_name() object-file: remove OBJECT_INFO_IGNORE_LOOSE object-file: refactor map_loose_object_1() object-file: emit corruption errors when detected commit: don't lazy-fetch commits Jordi Mas (1): l10n: Update Catalan translation Junio C Hamano (43): Git 2.30.7 Git 2.31.6 Git 2.32.5 Git 2.33.6 Git 2.34.6 Git 2.35.6 Git 2.36.4 Git 2.37.5 Git 2.38.3 Git 2.39.1 Start the 2.40 cycle The first batch for 2.40 The second batch The third batch The fourth batch The fifth batch The sixth batch format-patch: unleak "-v " The seventh batch branch: document `-f` and linked worktree behaviour checkout: document -b/-B to highlight the differences from "git branch" The eighth batch The ninth batch The tenth batch The eleventh batch The twelfth batch The thirteenth batch Git 2.30.8 The fourteenth batch The fifteenth batch Prepare for 2.39.3 just in case The sixteenth batch rev-list: clarify git-log default date format test-genzeros: avoid raw write(2) format.attach: allow empty value to disable multi-part messages The seventeenth batch Git 2.40-rc0 A few more topics post 2.40-rc0 A bit more before 2.40-rc1 A bit more before 2.40-rc1 Git 2.40-rc1 Git 2.40-rc2 Git 2.40 Karthik Nayak (2): t0003: move setup for `--all` into new block attr: add flag `--source` to work with tree-ish Kostya Farber (1): t5000: modernise archive and :(glob) test Kyle Meyer (2): send-email: relay '-v N' to format-patch doc/git-branch: fix --force description typo Kyle Zhao (3): merge-tree.c: add --merge-base= option merge-tree.c: allow specifying the merge-base when --stdin is passed docs: fix description of the `--merge-base` option Lars Kellogg-Stedman (1): line-range: fix infinite loop bug with '$' regex M Hickford (2): Documentation: clarify that cache forgets credentials if the system restarts credential: new attribute password_expiry_utc Martin Ågren (1): git-cat-file.txt: fix list continuations rendering literally Mathias Krause (1): grep: fall back to interpreter if JIT memory allocation fails Matthias Aßhauer (1): fetch: choose a sensible default with --jobs=0 again Patrick Steinhardt (28): attr: fix overflow when upserting attribute with overly long name attr: fix out-of-bounds read with huge attribute names attr: fix integer overflow when parsing huge attribute names attr: fix out-of-bounds write when parsing huge number of attributes attr: fix out-of-bounds read with unreasonable amount of patterns attr: fix integer overflow with more than INT_MAX macros attr: harden allocation against integer overflows attr: fix silently splitting up lines longer than 2048 bytes attr: ignore attribute lines exceeding 2048 bytes attr: ignore overly large gitattributes files pretty: fix out-of-bounds write caused by integer overflow pretty: fix out-of-bounds read when left-flushing with stealing pretty: fix out-of-bounds read when parsing invalid padding format pretty: fix adding linefeed when placeholder is not expanded pretty: fix integer overflow in wrapping format utf8: fix truncated string lengths in `utf8_strnwidth()` utf8: fix returning negative string width utf8: fix overflow when returning string width utf8: fix checking for glyph width in `strbuf_utf8_replace()` utf8: refactor `strbuf_utf8_replace` to not rely on preallocated buffer pretty: restrict input lengths for padding and wrapping formats fsck: refactor `fsck_blob()` to allow for more checks fsck: pull out function to check a set of blobs fsck: move checks for gitattributes fsck: implement checks for gitattributes refs: fix corruption by not correctly syncing packed-refs to disk apply: fix writing behind newly created symbolic links delta-islands: fix segfault when freeing island marks Peter Grayson (1): diff: fix regression with --stat and unmerged file Peter Krefting (1): l10n: sv.po: Update Swedish translation (5490t0f0u) Philip Oakley (6): doc: pretty-formats: separate parameters from placeholders doc: pretty-formats: delineate `%<|(` parameter values doc: pretty-formats document negative column alignments doc: pretty-formats describe use of ellipsis in truncation doc: pretty-formats note wide char limitations, and add tests .gitattributes: include `text` attribute for eol attributes Philippe Blain (6): git-cherry-pick.txt: do not use 'ORIG_HEAD' in example git-reset.txt: mention 'ORIG_HEAD' in the Description git-merge.txt: mention 'ORIG_HEAD' in the Description revisions.txt: be explicit about commands writing 'ORIG_HEAD' git-rebase.txt: add a note about 'ORIG_HEAD' being overwritten branch: improve advice when --recurse-submodules fails Phillip Wood (5): ci(github): restore "print test failures" step name rebase: cleanup "--exec" option handling rebase -i: check labels and refs when parsing todo list rebase -i: match whole word in is_command() rebase -i: fix parsing of "fixup -C" Ralf Thielow (1): l10n: update German translation René Scharfe (31): t5317: stop losing return codes of git ls-files t5317: demonstrate failure to handle multiple --filter options pack-objects: fix handling of multiple --filter options pack-objects: simplify --filter handling list-objects-filter: remove OPT_PARSE_LIST_OBJECTS_FILTER_INIT() t4205: don't exit test script on failure diff: factor out add_diff_options() diff: use add_diff_options() in diff_opt_parse() diff: remove parseopts member from struct diff_options list-objects-filter: plug pattern_list leak t3920: support CR-eating grep reflog: clear leftovers in reflog_expiry_cleanup() commit: skip already cleared parents in clear_commit_marks_1() am: don't pass strvec to apply_parse_options() object-file: inline write_buffer() use enhanced basic regular expressions on macOS mingw: make argv2 in try_shell_exec() non-const factor out BARF_UNLESS_COPYABLE do full type check in BARF_UNLESS_COPYABLE add DUP_ARRAY use DUP_ARRAY ls-tree: fix expansion of repeated %(path) ls-tree: remove dead store and strbuf for quote_c_style() read-cache: use size_t for {base,df}_name_compare() pack-objects: use strcspn(3) in name_cmp_len() cache-tree: fix strbuf growth in prime_cache_tree_rec() test-ctype: test isascii test-ctype: test islower and isupper test-ctype: test iscntrl, ispunct, isxdigit and isprint archive: add --mtime range-diff: avoid compiler warning when char is unsigned Rubén Justo (1): branch: force-copy a branch to itself via @{-1} is a no-op Rudy Rigot (1): status: modernize git-status "slow untracked files" advice SZEDER Gábor (1): tests: make 'test_oid' print trailing newline Sean Allred (3): var: do not print usage() with a correct invocation var: allow GIT_EDITOR to return null var: add GIT_SEQUENCE_EDITOR variable Seija (1): maintenance: compare output of pthread functions for inequality with 0 Seija Kijin (6): git: remove duplicate includes win32: use _endthreadex to terminate threads, not ExitThread win32: prepare pthread.c for change by formatting win32: close handles of threads that have been joined merge: break out of all_strategy loop when strategy is found compat/winansi: check for errors of CreateThread() correctly Siddharth Asthana (2): cat-file: add mailmap support to -s option cat-file: add mailmap support to --batch-check option Simon Gerber (1): help.c: fix autocorrect in work tree for bare repository Sven Strickroth (1): submodule: accept -v for the update command Taylor Blau (5): ci: avoid unnecessary builds t5619: demonstrate clone_local() with ambiguous transport clone: delay picking a transport until after get_repo_path() dir-iterator: prevent top-level symlinks without FOLLOW_SYMLINKS dir-iterator: drop unused `DIR_ITERATOR_FOLLOW_SYMLINKS` Teng Long (5): pack-bitmap.c: remove unnecessary "open_pack_index()" calls pack-bitmap.c: avoid exposing absolute paths ls-tree: cleanup the redundant SPACE t3104: remove shift code in 'test_ls_tree_format' range-diff: let '--abbrev' option takes effect Thierry Reding (1): am: allow passing --no-verify flag Torsten Bögershausen (1): t0003: call dd with portable blocksize Wes Lord (1): new-command.txt: update reference to builtin docs William Sprent (1): dir: check for single file cone patterns Yoichi Nakayama (2): git-jump: add an optional argument '--stdout' git-jump: invoke emacs/emacsclient Yukai Chou (1): doc: fix non-existent config name Yutaro Ohno (1): doc: add "git switch -c" as another option on detached HEAD Zhang Yi (1): t9700: modernize test scripts ZheNing Hu (1): scalar: show progress if stderr refers to a terminal idriss fekir (1): trace.c, git.c: remove unnecessary parameter to trace_repo_setup() Ævar Arnfjörð Bjarmason (90): bisect tests: test for v2.30.0 "bisect run" regressions bisect: refactor bisect_run() to match CodingGuidelines bisect test: test exit codes on bad usage bisect--helper: emit usage for "git bisect" bisect; remove unused "git-bisect.sh" and ".gitignore" entry tests: mark tests as passing with SANITIZE=leak {reset,merge}: call discard_index() before returning commit: discard partial cache before (re-)reading it read-cache.c: clear and free "sparse_checkout_patterns" dir.c: free "ident" and "exclude_per_dir" in "struct untracked_cache" built-ins & libs & helpers: add/move destructors, fix leaks unpack-file: fix ancient leak in create_temp_file() revision API: call graph_clear() in release_revisions() ls-files: fix a --with-tree memory leak sequencer.c: fix "opts->strategy" leak in read_strategy_opts() connected.c: free the "struct packed_git" rebase: don't leak on "--abort" cherry-pick: free "struct replay_opts" members revert: fix parse_options_concat() leak built-ins: use free() not UNLEAK() if trivial, rm dead code t5314: check exit code of "git" t7600: don't ignore "rev-parse" exit code in helper t4023: fix ignored exit codes of git Makefile: use sha1collisiondetection by default on OSX and Darwin bundle: don't segfault on "git bundle " protocol v2: add server-side "bundle-uri" skeleton t: create test harness for 'bundle-uri' command clone: request the 'bundle-uri' command when available bundle-uri client: add boolean transfer.bundleURI setting bundle-uri client: add helper for testing server submodule absorbgitdirs tests: add missing "Migrating git..." tests submodule.c & submodule--helper: pass along "super_prefix" param submodule--helper: don't use global --super-prefix in "absorbgitdirs" submodule--helper: convert "foreach" to its own "--super-prefix" submodule--helper: convert "sync" to its own "--super-prefix" submodule--helper: convert "status" to its own "--super-prefix" submodule--helper: convert "{update,clone}" to their own "--super-prefix" read-tree: add "--super-prefix" option, eliminate global builtin/bundle.c: remove superfluous "newargc" variable bundle : have usage_msg_opt() note the missing "" builtin/difftool.c: { 0 }-initialize rather than using memset() sparse-index.c: expand_to_path() can assume non-NULL "istate" sparse-index API: BUG() out on NULL ensure_full_index() read-cache.c: refactor set_new_index_sparsity() for subsequent commit bisect--helper: make the order consistently `argc, argv` ls-tree: don't use "show_tree_data" for "fast" callbacks ls-tree: use a "struct options" ls-tree: fold "show_tree_data" into "cb" struct ls-tree: make "line_termination" less generic env-helper: move this built-in to "test-tool env-helper" cache API: add a "INDEX_STATE_INIT" macro/function, add release_index() treewide: always have a valid "index_state.repo" member add: remove "add.interactive.useBuiltin" & Perl "git add--interactive" add API: remove run_add_interactive() wrapper function docs & comments: replace mentions of "git-add--interactive.perl" tests: mark tests as passing with SANITIZE=leak bundle.c: don't leak the "args" in the "struct child_process" commit-graph: use free_commit_graph() instead of UNLEAK() clone: use free() instead of UNLEAK() various: add missing clear_pathspec(), fix leaks name-rev: don't xstrdup() an already dup'd string repack: fix leaks on error with "goto cleanup" worktree: fix a trivial leak in prune_worktrees() http-backend.c: fix "dir" and "cmd_arg" leaks in cmd_main() http-backend.c: fix cmd_main() memory leak, refactor reg{exec,free}() commit-graph: fix a parse_options_concat() leak show-branch: free() allocated "head" before return builtin/merge.c: use fixed strings, not "strbuf", fix leak builtin/merge.c: free "&buf" on "Your local changes..." error grep.c: refactor free_grep_patterns() grep API: plug memory leaks by freeing "header_list" receive-pack: release the linked "struct command *" list push: refactor refspec_append_mapped() for subsequent leak-fix push: free_refs() the "local_refs" in set_refspecs() rebase: use "cleanup" pattern in do_interactive_rebase() sequencer.c: split up sequencer_remove_state() sequencer API users: fix get_replay_opts() leaks builtin/revert.c: move free-ing of "revs" to replay_opts_release() builtin/rebase.c: fix "options.onto_name" leak sequencer.c: always free() the "msgbuf" in do_pick_commit() builtin/rebase.c: free() "options.strategy_opts" commit.c: free() revs.commit in get_fork_point() config.h: remove unused git_configset_add_parameters() run-command.c: remove dead assignment in while-loop builtin/rm.c: use narrower "USE_THE_INDEX_VARIABLE" cocci & cache.h: fully apply "active_nr" part of index-compatibility cocci & cache.h: apply pending "index_cache_pos" rule cocci & cache-tree.h: migrate "write_cache_as_tree" to "*_index_*" cache-tree API: remove redundant update_main_cache_tree() cocci & cache.h: remove "USE_THE_INDEX_COMPATIBILITY_MACROS" Đoàn Trần Công Danh (6): bisect: fix output regressions in v2.30.0 bisect run: keep some of the post-v2.30.0 output bisect-run: verify_good: account for non-negative exit status bisect--helper: identify as bisect when report error bisect--helper: log: allow arbitrary number of arguments date.c: allow ISO 8601 reduced precision times [Less]
Posted about 1 year ago by Johannes Schindelin
Dear Git users, I hereby announce that Git for Windows 2.40.0-rc2 is available from: https://github.com/git-for-windows/git/releases/tag/v2.40.0-rc2.windows.1 Changes since Git for Windows v2.39.2 (February 14th 2023) As announced previously ... [More] , Git for Windows will drop support for Windows 7 and for Windows 8 in one of the next versions, following Cygwin's and MSYS2's lead (Git for Windows relies on MSYS2 for components such as Bash and Perl). Also following the footsteps of the MSYS2 and Cygwin projects on which Git for Windows depends, the 32-bit variant of Git for Windows is nearing its end of support. New Features * Comes with Git v2.40.0-rc2. * In the olden Git days, there were "dashed" Git commands (e.g. git-commit instead of git commit). These haven't been supported for interactive use in a really, really long time. But they still worked in Git aliases and hooks ("scripts"). Since Git v1.5.4 (released on February 2nd, 2008), it was discouraged/deprecated to use dashed Git commands even in scripts. As of this version, Git for Windows no longer supports these dashed commands. * Comes with tig v2.5.8. * Comes with Bash v5.2 patchlevel 15. * Comes with OpenSSL v1.1.1t. * Comes with GNU TLS v3.8.0. * Comes with cURL v7.88.1. * Comes with libfido2 v1.13.0. * Comes with Git Credential Manager v2.0.935. Bug Fixes * Some commands mishandled absolute paths near the drive root (e.g. scalar unregister C:/foo), which has been fixed. * When trying to call Cygwin (or for that matter, MSYS2) programs from Git Bash, users would frequently be greeted with cryptic error messages about a "cygheap" or even just an even more puzzling exit code 127. Many of these calls now succeed, allowing basic interactions. While it is still not possible for, say, Cygwin's vim.exe to interact with the Git Bash's terminal window, it is now possible for Cygwin's zstd.exe in conjuction with Git for Windows' tar.exe to handle .tar.zst archives. Git-2.40.0-rc2-64-bit.exe | a9854cbbb47c826f5d0aec45d96c113dcf88c94ce70a9bf0749a2b04f1fb6b09 Git-2.40.0-rc2-32-bit.exe | 2a4b040f7aa20d9ec996159dfc7cb566e783d4fc6722c3916b0fd61e869e8f60 PortableGit-2.40.0-rc2-64-bit.7z.exe | 0c40e61a96ddd624b8125e3b542b8a26b6d86ff2204f8645d43782190e2f74ae PortableGit-2.40.0-rc2-32-bit.7z.exe | d771f24ffc9f4d960986a132bef2045af406ffc4abf78d54e3f8ac56c19668ff MinGit-2.40.0-rc2-64-bit.zip | de257f4ac5872a5864eca7476201a00f5b827a329933f7a7339bc67026d0bd5c MinGit-2.40.0-rc2-32-bit.zip | fc02caeb1502a27575ff1bbd8dcae49a76793944be451e639821b4c8bd25f954 MinGit-2.40.0-rc2-busybox-64-bit.zip | 9cb55ff1fbb03ce81acf69408db00a103b32c54009fd4b9515d70b50bb56cc51 MinGit-2.40.0-rc2-busybox-32-bit.zip | af2fb84fc9f0104f02bb310a44a448da9b0a85b42cd0daba67e1641d0a85bba0 Git-2.40.0-rc2-64-bit.tar.bz2 | ee3f3a9a79eb862eeedcc06a35c2ca5e4f0903a476d0ae2d0c55add4b20065be Git-2.40.0-rc2-32-bit.tar.bz2 | ddd8d7654b394cc7cc2ff825f73ab086bb3e43bea38ec5996e9ab4a7405ae58a Ciao, Johannes [Less]
Posted about 1 year ago by Junio C Hamano
A release candidate Git v2.40.0-rc2 is now available for testing at the usual places. It is comprised of 461 non-merge commits since v2.39.0, contributed by 78 people, 30 of which are new faces [*]. Relative to 2.40-rc1, there is one fix to make ... [More] "git range-diff --abbrev=" option work on platforms whose char is unsigned. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/testing/ The following public repositories all have a copy of the 'v2.40.0-rc2' tag and the 'master' branch that the tag points at: url = https://git.kernel.org/pub/scm/git/git url = https://kernel.googlesource.com/pub/scm/git/git url = git://repo.or.cz/alt-git.git url = https://github.com/gitster/git New contributors whose contributions weren't in v2.39.0 are as follows. Welcome to the Git development community! Adam Szkoda, Alison Winters, Ashutosh Pandey, Carl Baldwin, Daniël Haazen, Drew Noakes, Eric Sesterhenn, Gwyneth Morgan, Harshil-Jani, Hubert Jasudowicz, idriss fekir, Kostya Farber, Marco Nenciarini, Markus Vervier, Matheus Tavares Bernardino, Mathias Krause, Pat LaVarre, Peter Grayson, Rudy Rigot, Seija, Seija Kijin, Simon Gerber, Thierry Reding, [email protected], Wes Lord, Yukai Chou, Yutaro Ohno, yvvdwf, Zhang Yi, and 孟子易. Returning contributors who helped this release are as follows. Thanks for your continued support. Ævar Arnfjörð Bjarmason, Andrei Rybak, Calvin Wan, Carlo Marcelo Arenas Belón, Christian Couder, Chris. Webster, Derrick Stolee, Đoàn Trần Công Danh, Elijah Newren, Emily Shaffer, Eric Sunshine, Eric Wong, Erik Cervin Edin, Glen Choo, Jeff Hostetler, Jeff King, Jiang Xin, Joern Schneeweisz, Johannes Schindelin, Johannes Sixt, John Cai, Jonathan Tan, Junio C Hamano, Karthik Nayak, Kevin Willford, Kyle Meyer, Kyle Zhao, Lars Kellogg-Stedman, Martin Ågren, Matthias Aßhauer, M Hickford, Patrick Steinhardt, Philip Oakley, Philippe Blain, Phillip Wood, Randall S. Becker, René Scharfe, Rubén Justo, Sean Allred, Siddharth Asthana, Sven Strickroth, SZEDER Gábor, Taylor Blau, Teng Long, Torsten Bögershausen, William Sprent, Yoichi Nakayama, and ZheNing Hu. [*] We are counting not just the authorship contribution but issue reporting, mentoring, helping and reviewing that are recorded in the commit trailers. ---------------------------------------------------------------- Git v2.40 Release Notes (draft) =============================== UI, Workflows & Features * "merge-tree" learns a new `--merge-base` option. * "git jump" (in contrib/) learned to present the "quickfix list" to its standard output (instead of letting it consumed by the editor it invokes), and learned to also drive emacs/emacsclient. * "git var UNKNOWN_VARIABLE" and "git var VARIABLE" with the variable given an empty value used to behave identically. Now the latter just gives an empty output, while the former still gives an error message. * Introduce a case insensitive mode to the Bash completion helpers. * The advice message given by "git status" when it takes long time to enumerate untracked paths has been updated. * Just like "git var GIT_EDITOR" abstracts the complex logic to choose which editor gets used behind it, "git var" now give support to GIT_SEQUENCE_EDITOR. * "git format-patch" learned to honor format.mboxrd even when sending patches to the standard output stream, * 'cat-file' gains mailmap support for its '--batch-check' and '-s' options. * Conditionally skip the pre-applypatch and applypatch-msg hooks when applying patches with 'git am'. * Introduce an optional configuration to allow the trailing hash that protects the index file from bit flipping. * "git check-attr" learned to take an optional tree-ish to read the .gitattributes file from. * "scalar" learned to give progress bar. * "grep -P" learned to use Unicode Character Property to grok character classes when processing \b and \w etc. * "git rebase" often ignored incompatible options instead of complaining, which has been corrected. * "scalar" warns but continues when its periodic maintenance feature cannot be enabled. * The bundle-URI subsystem adds support for creation-token heuristics to help incremental fetches. * Userdiff regexp update for Java language. * "git fetch --jobs=0" used to hit a BUG(), which has been corrected to use the available CPUs. * An invalid label or ref in the "rebase -i" todo file used to trigger an runtime error. SUch an error is now diagnosed while the todo file is parsed. * The "diff" drivers specified by the "diff" attribute attached to paths can now specify which algorithm (e.g. histogram) to use. * "git range-diff" learned --abbrev= option. * "git archive HEAD^{tree}" records the paths with the current timestamp in the archive, making it harder to obtain a stable output. The command learned the --mtime option to specify an arbitrary timestamp (e.g. --mtime="@0 +0000" for the epoch). * The credential subsystem learned that a password may have an explicit expiration. * The format.attach configuration variable lacked a way to override a value defined in a lower-priority configuration file (e.g. the system one) by redefining it in a higher-priority configuration file. Now, setting format.attach to an empty string means show the patch inline in the e-mail message, without using MIME attachment. This is a backward incompatible change. Performance, Internal Implementation, Development Support etc. * `git bisect` becomes a builtin. * The pack-bitmap machinery is taught to log the paths of redundant bitmap(s) to trace2 instead of stderr. * Use the SHA1DC implementation on macOS, just like other platforms, by default. * Even in a repository with promisor remote, it is useless to attempt to lazily attempt fetching an object that is expected to be commit, because no "filter" mode omits commit objects. Take advantage of this assumption to fail fast on errors. * Stop using "git --super-prefix" and narrow the scope of its use to the submodule--helper. * Stop running win+VS build by default. * CI updates. We probably want a clean-up to move the long shell script embedded in yaml file into a separate file, but that can come later. * Use `git diff --no-index` as a test_cmp on Windows. We'd probably need to revisit "do we really want to, and have to, lose CRLF vs LF?" later, at which time we may be able to further clean this up by replacing "git diff --no-index" with "diff -u". * Avoid unnecessary builds in CI, with settings configured in ci-config. * Plug leaks in sequencer subsystem and its users. * In-tree .gitattributes update to match the way we recommend our users to mark a file as text. (merge 1f34e0cd3d po/attributes-text later to maint). * Finally retire the scripted "git add -p/-i" implementation and have everybody use the one reimplemented in C. Fixes since v2.39 ----------------- * Various leak fixes. * Fix a bug where `pack-objects` would not respect multiple `--filter` arguments when invoked directly. (merge d4f7036887 rs/multi-filter-args later to maint). * Make fsmonitor more robust to avoid the flakiness seen in t7527. (merge 6692d45477 jh/t7527-unflake-by-forcing-cookie later to maint). * Stop using deprecated macOS API in fsmonitor. (merge b0226007f0 jh/fsmonitor-darwin-modernize later to maint). * Redefining system functions for a few functions did not follow our usual "implement git_foo() and #define foo(args) git_foo(args)" pattern, which has broken build for some folks. * The way the diff machinery prepares the options array for the parse_options API has been refactored to avoid resource leaks. (merge 189e97bc4b rs/diff-parseopts later to maint). * Correct pthread API usage. (merge 786e67611d sx/pthread-error-check-fix later to maint). * The code to auto-correct a misspelt subcommand unnecessarily called into git_default_config() from the early config codepath, which was a no-no. This has bee corrected. (merge 0918d08887 sg/help-autocorrect-config-fix later to maint). * "git http-fetch" (which is rarely used) forgot to identify itself in the trace2 output. (merge 7abb43cbc8 jt/http-fetch-trace2-report-name later to maint). * The output from "git diff --stat" on an unmerged path lost the terminating LF in Git 2.39, which has been corrected. (merge 209d9cb011 pg/diff-stat-unmerged-regression-fix later to maint). * "git pull -v --recurse-submodules" attempted to pass "-v" down to underlying "git submodule update", which did not understand the request and barfed, which has been corrected. (merge 6f65f84766 ss/pull-v-recurse-fix later to maint). * When given a pattern that matches an empty string at the end of a line, the code to parse the "git diff" line-ranges fell into an infinite loop, which has been corrected. * Fix the sequence to fsync $GIT_DIR/packed-refs file that forgot to flush its output to the disk.. * Fix to a small regression in 2.38 days. * "git diff --relative" did not mix well with "git diff --ext-diff", which has been corrected. * The logic to see if we are using the "cone" mode by checking the sparsity patterns has been tightened to avoid mistaking a pattern that names a single file as specifying a cone. * Deal with a few deprecation warning from cURL library. * Doc update for environment variables set when hooks are invoked. * Document ORIG_HEAD a bit more. * "git ls-tree --format='%(path) %(path)' $tree $path" showed the path three times, which has been corrected. * Remove "git env--helper" and demote it to a test-tool subcommand. (merge 4a1baacd46 ab/test-env-helper later to maint). * Newer regex library macOS stopped enabling GNU-like enhanced BRE, where '\(A\|B\)' works as alternation, unless explicitly asked with the REG_ENHANCED flag. "git grep" now can be compiled to do so, to retain the old behaviour. * Pthread emulation on Win32 leaked thread handle when a thread is joined. (merge 238a9dfe86 sk/win32-close-handle-upon-pthread-join later to maint). * "git send-email -v 3" used to be expanded to "git send-email --validate 3" when the user meant to pass them down to "format-patch", which has been corrected. (merge 8774aa56ad km/send-email-with-v-reroll-count later to maint). * Document that "branch -f " disables only the safety to avoid recreating an existing branch. * "git fetch ", when "" of remotes lists the same remote twice, unnecessarily failed when parallel fetching was enabled, which has been corrected. (merge 06a668cb90 cw/fetch-remote-group-with-duplication later to maint). * Clarify how "checkout -b/-B" and "git branch [-f]" are similar but different in the documentation. * "git hash-object" now checks that the resulting object is well formed with the same code as "git fsck". (merge 8e4309038f jk/hash-object-fsck later to maint). * Improve the error message given when private key is not loaded in the ssh agent in the codepath to sign with an ssh key. (merge dce7b31126 as/ssh-signing-improve-key-missing-error later to maint). * Adjust "git request-pull" to strip embedded signature from signed tags to notice non-PGP signatures. (merge a9cad02538 gm/request-pull-with-non-pgp-signed-tags later to maint). * Remove support for MSys, which now lags way behind MSys2. (merge 2987407f3c hj/remove-msys-support later to maint). * Fix use of CreateThread() API call made early in the windows start-up code. (merge 592bcab61b sk/winansi-createthread-fix later to maint). * "git pack-objects" learned to release delta-island bitmap data when it is done using it, saving peak heap memory usage. (merge 647982bb71 ew/free-island-marks later to maint). * In an environment where dynamically generated code is prohibited to run (e.g. SELinux), failure to JIT pcre patterns is expected. Fall back to interpreted execution in such a case. (merge 50b6ad55b0 cb/grep-fallback-failing-jit later to maint). * "git name-rev" heuristics update. (merge b2182a8730 en/name-rev-make-taggerdate-much-less-important later to maint). * Remove more remaining uses of macros that relies on the_index singleton instance without explicitly spelling it out. * Remove unnecessary explicit sizing of strbuf. (merge 93ea118bed rs/cache-tree-strbuf-growth-fix later to maint). * Doc update. (merge d9ec3b0dc0 jk/doc-ls-remote-matching later to maint). * Error messages given upon a signature verification failure used to discard the errors from underlying gpg program, which has been corrected. (merge ad6b320756 js/gpg-errors later to maint). * Update --date=default documentation. (merge 9deef088ae rd/doc-default-date-format later to maint). * A test helper had a single write(2) of 256kB, which was too big for some platforms (e.g. NonStop), which has been corrected by using xwrite() wrapper appropriately. (merge 58eab6ff13 jc/genzeros-avoid-raw-write later to maint). * sscanf(3) used in "git symbolic-ref --short" implementation found to be not working reliably on macOS in UTF-8 locales. Rewrite the code to avoid sscanf() altogether to work it around. (merge 613bef56b8 jk/shorten-unambiguous-ref-wo-sscanf later to maint). * Various fix-ups on HTTP tests. (merge 8f2146dbf1 jk/http-test-fixes later to maint). * Fixes to code that parses the todo file used in "rebase -i". (merge 666b6e1135 pw/rebase-i-parse-fix later to maint). * Test library clean-up. (merge c600a91c94 ar/test-lib-remove-stale-comment later to maint). * Other code cleanup, docfix, build fix, etc. (merge 4eb1ccecd4 dh/mingw-ownership-check-typofix later to maint). (merge f95526419b ar/typofix-gitattributes-doc later to maint). (merge 27875aeec9 km/doc-branch-start-point later to maint). (merge 35c194dc57 es/t1509-root-fixes later to maint). (merge 7b341645e3 pw/ci-print-failure-name-fix later to maint). (merge bcb71d45bf jx/t1301-updates later to maint). (merge ebdc46c242 jc/doc-diff-patch.txt later to maint). (merge a87a20cbb4 ar/test-cleanup later to maint). (merge f5156f1885 ar/bisect-doc-update later to maint). (merge fca2d86c97 jk/interop-error later to maint). (merge cf4936ed74 tl/ls-tree-code-clean-up later to maint). (merge dcb47e52b0 en/t6426-todo-cleanup later to maint). (merge 5b8db44bdd jc/format-patch-v-unleak later to maint). (merge 590b636737 jk/hash-object-literally-fd-leak later to maint). (merge 5458ba0a4d tb/t0003-invoke-dd-more-portably later to maint). (merge 70661d288b ar/markup-em-dash later to maint). (merge e750951e74 en/ls-files-doc-update later to maint). (merge 4f542975d1 mh/doc-credential-cache-only-in-core later to maint). (merge 3a2ebaebc7 gc/index-format-doc later to maint). (merge b08edf709d jk/httpd-test-updates later to maint). (merge d85e9448dd wl/new-command-doc later to maint). (merge d912a603ed kf/t5000-modernise later to maint). (merge e65b868d07 rs/size-t-fixes later to maint). (merge 3eb1e1ca9a ab/config-h-remove-unused later to maint). (merge d390e08076 cw/doc-pushurl-vs-url later to maint). (merge 567342fc77 rs/ctype-test later to maint). (merge d35d8f2e7a ap/t2015-style-update later to maint). ---------------------------------------------------------------- Changes since v2.39.0 are as follows: Adam Szkoda (1): ssh signing: better error message when key not in agent Alison Winters (2): completion: add optional ignore-case when matching refs completion: add case-insensitive match of pseudorefs Andrei Rybak (12): gitattributes.txt: fix typo in "comma separated" *: fix typos which duplicate a word git-bisect-lk2009: update java code conventions link git-bisect-lk2009: update nist report link t6003: uncomment test '--max-age=c3, --topo-order' t6422: drop commented out code t7527: use test_when_finished in 'case insensitive+preserving' Documentation: render dash correctly userdiff: support Java type parameters userdiff: support Java record types userdiff: support Java sealed classes test-lib: drop comment about test_description Ashutosh Pandey (1): t2015-checkout-unborn.sh: changes the style for cd Calvin Wan (2): fetch: fix duplicate remote parallel fetch bug Documentation: clarify multiple pushurls vs urls Carlo Marcelo Arenas Belón (2): test-lib: add prerequisite for 64-bit platforms grep: correctly identify utf-8 characters with \{b,w} in -P Chris. Webster (3): ci (check-whitespace): suggest fixes for errors ci (check-whitespace): add links to job output ci (check-whitespace): move to actions/checkout@v3 Daniël Haazen (1): mingw: fix typo in an error message from ownership check Derrick Stolee (25): transport: rename got_remote_heads bundle-uri: serve bundle.* keys from config strbuf: introduce strbuf_strip_file_from_path() bundle-uri: allow relative URLs in bundle lists bundle-uri: download bundles from an advertised list clone: unbundle the advertised bundles hashfile: allow skipping the hash function read-cache: add index.skipHash config option test-lib-functions: add helper for trailing hash features: feature.manyFiles implies fast index writes t1600: fix racy index.skipHash test t: allow 'scalar' in test_must_fail t921*: test scalar behavior starting maintenance scalar: only warn when background maintenance fails bundle: test unbundling with incomplete history bundle: verify using check_connected() t5558: add tests for creationToken heuristic bundle-uri: parse bundle.heuristic=creationToken bundle-uri: parse bundle..creationToken values bundle-uri: download in creationToken order clone: set fetch.bundleURI if appropriate bundle-uri: drop bundle.flag from design doc fetch: fetch from an external bundle URI bundle-uri: store fetch.bundleCreationToken bundle-uri: test missing bundles with heuristic Elijah Newren (16): ls-files: add missing documentation for --resolve-undo option ls-files: clarify descriptions of file selection options ls-files: clarify descriptions of status tags for -t ls-files: guide folks to --exclude-standard over other --exclude* options t6426: fix TODO about making test more comprehensive rebase: mark --update-refs as requiring the merge backend rebase: flag --apply and --merge as incompatible rebase: remove --allow-empty-message from incompatible opts rebase: fix docs about incompatibilities with --root rebase: fix incompatiblity checks for --[no-]reapply-cherry-picks rebase: add coverage of other incompatible options rebase: clarify the OPT_CMDMODE incompatibilities rebase: fix formatting of rebase --reapply-cherry-picks option in docs rebase: put rebase_options initialization in single place rebase: provide better error message for apply options vs. merge config name-rev: fix names by dropping taggerdate workaround Emily Shaffer (4): run-command: allow stdin for run_processes_parallel hook API: support passing stdin to hooks, convert am's 'post-rewrite' sequencer: use the new hook API for the simpler "post-rewrite" call hook: support a --to-stdin= option Eric Sunshine (4): t1509: fix failing "root work tree" test due to owner-check t1509: make "setup" test more robust t1509: facilitate repeated script invocations githooks: discuss Git operations in foreign repositories Eric Wong (2): format-patch: support format.mboxrd with --stdout delta-islands: free island_marks and bitmaps Glen Choo (2): read-tree + fetch tests: test failing "--super-prefix" interaction docs: document zero bits in index "mode" Gwyneth Morgan (2): request-pull: filter out SSH/X.509 tag signatures signature-format.txt: note SSH and X.509 signature delimiters Harshil-Jani (2): mingw: remove duplicate `USE_NED_ALLOCATOR` directive mingw: remove msysGit/MSYS1 support Jeff Hostetler (2): fsmonitor: fix race seen in t7527 fsmonitor: eliminate call to deprecated FSEventStream function Jeff King (74): git-jump: move valid-mode check earlier pack-bitmap.c: break out of the bitmap loop early if not tracing pack-bitmap.c: trace bitmap ignore logs when midx-bitmap is found git-compat-util: avoid redefining system function names git-compat-util: undefine system names before redeclaring them server_supports_v2(): use a separate function for die_on_error ls-refs: use repository parameter to iterate refs blob: drop unused parts of parse_blob_buffer() list-objects: drop process_gitlink() function ws: drop unused parameter from ws_blank_line() xdiff: drop unused parameter in def_ff() xdiff: mark unused parameter in xdl_call_hunk_func() diff: mark unused parameters in callbacks list-objects-filter: mark unused parameters in virtual functions userdiff: mark unused parameter in internal callback ref-filter: reject arguments to %(HEAD) ref-filter: factor out "%(foo) does not take arguments" errors ref-filter: factor out "unrecognized %(foo) arg" errors ref-filter: truncate atom names in error messages ref-filter: convert email atom parser to use err_bad_arg() test-bundle-uri: drop unused variables diff: use filespec path to set up tempfiles for ext-diff diff: clean up external-diff argv setup diff: drop "name" parameter from prepare_temp_file() convert trivial uses of strncmp() to starts_with() convert trivial uses of strncmp() to skip_prefix() object-file: inline calls to read_object() streaming: inline call to read_object_file_extended() read_object_file_extended(): drop lookup_replace option repo_read_object_file(): stop wrapping read_object_file_extended() packfile: inline custom read_object() object-file: fix indent-with-space t/interop: report which vanilla git command failed http-push: prefer CURLOPT_UPLOAD to CURLOPT_PUT http: prefer CURLOPT_SEEKFUNCTION to CURLOPT_IOCTLFUNCTION http: support CURLOPT_PROTOCOLS_STR t1007: modernize malformed object tests t1006: stop using 0-padded timestamps t7030: stop using invalid tag name t: use hash-object --literally when created malformed objects fsck: provide a function to fsck buffer without object struct hash-object: use fsck for object checks hash-object: fix descriptor leak with --literally fsck: do not assume NUL-termination of buffers t/lib-httpd: bump required apache version to 2.2 t/lib-httpd: bump required apache version to 2.4 t/lib-httpd: drop SSLMutex config t/lib-httpd: increase ssl key size to 2048 bits http-push: prefer CURLOPT_UPLOAD to CURLOPT_PUT http: prefer CURLOPT_SEEKFUNCTION to CURLOPT_IOCTLFUNCTION http: support CURLOPT_PROTOCOLS_STR doc/ls-remote: cosmetic cleanups for examples doc/ls-remote: clarify pattern format shorten_unambiguous_ref(): avoid integer truncation shorten_unambiguous_ref(): use NUM_REV_PARSE_RULES constant shorten_unambiguous_ref(): avoid sscanf() add basic http proxy tests t0066: drop setup of "dir5" t5541: run "used receive-pack service" test earlier t5541: stop marking "used receive-pack service" test as v0 only t5541: simplify and move "no empty path components" test t5551: drop redundant grep for Accept-Language t5551: lower-case headers in expected curl trace t5551: handle HTTP/2 when checking curl trace t5551: stop forcing clone to run with v0 protocol t5551: handle v2 protocol when checking curl trace t5551: handle v2 protocol in upload-pack service test t5551: simplify expected cookie file t5551: handle v2 protocol in cookie test t5551: drop curl trace lines without headers t/lib-httpd: respect $HTTPD_PROTO in expect_askpass() t/lib-httpd: enable HTTP/2 "h2" protocol, not just h2c t5559: fix test failures with LIB_HTTPD_SSL t5559: make SSL/TLS the default Jiang Xin (3): t1301: fix wrong template dir for git-init t1301: use test_when_finished for cleanup t1301: do not change $CWD in "shared=all" test case Johannes Schindelin (24): bisect--helper: handle states directly Turn `git bisect` into a full built-in t0021: use Windows-friendly `pwd` tests(mingw): avoid very slow `mingw_test_cmp` ci: only run win+VS build & tests in Git for Windows' fork bisect--helper: simplify exit code computation bisect: verify that a bogus option won't try to start a bisection bisect run: fix the error message bisect: remove Cogito-related code bisect: no longer try to clean up left-over `.git/head-name` files fsck: document the new `gitattributes` message IDs attr: adjust a mismatched data type attr: adjust a mismatched data type Git 2.31.7 Git 2.32.6 Git 2.33.7 Git 2.34.7 Git 2.35.7 Git 2.36.5 Git 2.37.6 Git 2.38.4 Git 2.39.2 t7510: add a test case that does not need gpg gpg: do show gpg's error message upon failure Johannes Sixt (1): t3920: don't ignore errors of more than one command with `|| true` John Cai (4): docs: link generating patch sections attr: fix instructions on how to check attrs diff: consolidate diff algorithm option parsing diff: teach diff to read algorithm from diff driver Jonathan Tan (5): http-fetch: invoke trace2_cmd_name() object-file: remove OBJECT_INFO_IGNORE_LOOSE object-file: refactor map_loose_object_1() object-file: emit corruption errors when detected commit: don't lazy-fetch commits Junio C Hamano (42): Git 2.30.7 Git 2.31.6 Git 2.32.5 Git 2.33.6 Git 2.34.6 Git 2.35.6 Git 2.36.4 Git 2.37.5 Git 2.38.3 Git 2.39.1 Start the 2.40 cycle The first batch for 2.40 The second batch The third batch The fourth batch The fifth batch The sixth batch format-patch: unleak "-v " The seventh batch branch: document `-f` and linked worktree behaviour checkout: document -b/-B to highlight the differences from "git branch" The eighth batch The ninth batch The tenth batch The eleventh batch The twelfth batch The thirteenth batch Git 2.30.8 The fourteenth batch The fifteenth batch Prepare for 2.39.3 just in case The sixteenth batch rev-list: clarify git-log default date format test-genzeros: avoid raw write(2) format.attach: allow empty value to disable multi-part messages The seventeenth batch Git 2.40-rc0 A few more topics post 2.40-rc0 A bit more before 2.40-rc1 A bit more before 2.40-rc1 Git 2.40-rc1 Git 2.40-rc2 Karthik Nayak (2): t0003: move setup for `--all` into new block attr: add flag `--source` to work with tree-ish Kostya Farber (1): t5000: modernise archive and :(glob) test Kyle Meyer (2): send-email: relay '-v N' to format-patch doc/git-branch: fix --force description typo Kyle Zhao (3): merge-tree.c: add --merge-base= option merge-tree.c: allow specifying the merge-base when --stdin is passed docs: fix description of the `--merge-base` option Lars Kellogg-Stedman (1): line-range: fix infinite loop bug with '$' regex M Hickford (2): Documentation: clarify that cache forgets credentials if the system restarts credential: new attribute password_expiry_utc Martin Ågren (1): git-cat-file.txt: fix list continuations rendering literally Mathias Krause (1): grep: fall back to interpreter if JIT memory allocation fails Matthias Aßhauer (1): fetch: choose a sensible default with --jobs=0 again Patrick Steinhardt (28): attr: fix overflow when upserting attribute with overly long name attr: fix out-of-bounds read with huge attribute names attr: fix integer overflow when parsing huge attribute names attr: fix out-of-bounds write when parsing huge number of attributes attr: fix out-of-bounds read with unreasonable amount of patterns attr: fix integer overflow with more than INT_MAX macros attr: harden allocation against integer overflows attr: fix silently splitting up lines longer than 2048 bytes attr: ignore attribute lines exceeding 2048 bytes attr: ignore overly large gitattributes files pretty: fix out-of-bounds write caused by integer overflow pretty: fix out-of-bounds read when left-flushing with stealing pretty: fix out-of-bounds read when parsing invalid padding format pretty: fix adding linefeed when placeholder is not expanded pretty: fix integer overflow in wrapping format utf8: fix truncated string lengths in `utf8_strnwidth()` utf8: fix returning negative string width utf8: fix overflow when returning string width utf8: fix checking for glyph width in `strbuf_utf8_replace()` utf8: refactor `strbuf_utf8_replace` to not rely on preallocated buffer pretty: restrict input lengths for padding and wrapping formats fsck: refactor `fsck_blob()` to allow for more checks fsck: pull out function to check a set of blobs fsck: move checks for gitattributes fsck: implement checks for gitattributes refs: fix corruption by not correctly syncing packed-refs to disk apply: fix writing behind newly created symbolic links delta-islands: fix segfault when freeing island marks Peter Grayson (1): diff: fix regression with --stat and unmerged file Philip Oakley (6): doc: pretty-formats: separate parameters from placeholders doc: pretty-formats: delineate `%<|(` parameter values doc: pretty-formats document negative column alignments doc: pretty-formats describe use of ellipsis in truncation doc: pretty-formats note wide char limitations, and add tests .gitattributes: include `text` attribute for eol attributes Philippe Blain (6): git-cherry-pick.txt: do not use 'ORIG_HEAD' in example git-reset.txt: mention 'ORIG_HEAD' in the Description git-merge.txt: mention 'ORIG_HEAD' in the Description revisions.txt: be explicit about commands writing 'ORIG_HEAD' git-rebase.txt: add a note about 'ORIG_HEAD' being overwritten branch: improve advice when --recurse-submodules fails Phillip Wood (5): ci(github): restore "print test failures" step name rebase: cleanup "--exec" option handling rebase -i: check labels and refs when parsing todo list rebase -i: match whole word in is_command() rebase -i: fix parsing of "fixup -C" René Scharfe (31): t5317: stop losing return codes of git ls-files t5317: demonstrate failure to handle multiple --filter options pack-objects: fix handling of multiple --filter options pack-objects: simplify --filter handling list-objects-filter: remove OPT_PARSE_LIST_OBJECTS_FILTER_INIT() t4205: don't exit test script on failure diff: factor out add_diff_options() diff: use add_diff_options() in diff_opt_parse() diff: remove parseopts member from struct diff_options list-objects-filter: plug pattern_list leak t3920: support CR-eating grep reflog: clear leftovers in reflog_expiry_cleanup() commit: skip already cleared parents in clear_commit_marks_1() am: don't pass strvec to apply_parse_options() object-file: inline write_buffer() use enhanced basic regular expressions on macOS mingw: make argv2 in try_shell_exec() non-const factor out BARF_UNLESS_COPYABLE do full type check in BARF_UNLESS_COPYABLE add DUP_ARRAY use DUP_ARRAY ls-tree: fix expansion of repeated %(path) ls-tree: remove dead store and strbuf for quote_c_style() read-cache: use size_t for {base,df}_name_compare() pack-objects: use strcspn(3) in name_cmp_len() cache-tree: fix strbuf growth in prime_cache_tree_rec() test-ctype: test isascii test-ctype: test islower and isupper test-ctype: test iscntrl, ispunct, isxdigit and isprint archive: add --mtime range-diff: avoid compiler warning when char is unsigned Rubén Justo (1): branch: force-copy a branch to itself via @{-1} is a no-op Rudy Rigot (1): status: modernize git-status "slow untracked files" advice SZEDER Gábor (1): tests: make 'test_oid' print trailing newline Sean Allred (3): var: do not print usage() with a correct invocation var: allow GIT_EDITOR to return null var: add GIT_SEQUENCE_EDITOR variable Seija (1): maintenance: compare output of pthread functions for inequality with 0 Seija Kijin (6): git: remove duplicate includes win32: use _endthreadex to terminate threads, not ExitThread win32: prepare pthread.c for change by formatting win32: close handles of threads that have been joined merge: break out of all_strategy loop when strategy is found compat/winansi: check for errors of CreateThread() correctly Siddharth Asthana (2): cat-file: add mailmap support to -s option cat-file: add mailmap support to --batch-check option Simon Gerber (1): help.c: fix autocorrect in work tree for bare repository Sven Strickroth (1): submodule: accept -v for the update command Taylor Blau (5): ci: avoid unnecessary builds t5619: demonstrate clone_local() with ambiguous transport clone: delay picking a transport until after get_repo_path() dir-iterator: prevent top-level symlinks without FOLLOW_SYMLINKS dir-iterator: drop unused `DIR_ITERATOR_FOLLOW_SYMLINKS` Teng Long (5): pack-bitmap.c: remove unnecessary "open_pack_index()" calls pack-bitmap.c: avoid exposing absolute paths ls-tree: cleanup the redundant SPACE t3104: remove shift code in 'test_ls_tree_format' range-diff: let '--abbrev' option takes effect Thierry Reding (1): am: allow passing --no-verify flag Torsten Bögershausen (1): t0003: call dd with portable blocksize Wes Lord (1): new-command.txt: update reference to builtin docs William Sprent (1): dir: check for single file cone patterns Yoichi Nakayama (2): git-jump: add an optional argument '--stdout' git-jump: invoke emacs/emacsclient Yukai Chou (1): doc: fix non-existent config name Yutaro Ohno (1): doc: add "git switch -c" as another option on detached HEAD Zhang Yi (1): t9700: modernize test scripts ZheNing Hu (1): scalar: show progress if stderr refers to a terminal idriss fekir (1): trace.c, git.c: remove unnecessary parameter to trace_repo_setup() Ævar Arnfjörð Bjarmason (90): bisect tests: test for v2.30.0 "bisect run" regressions bisect: refactor bisect_run() to match CodingGuidelines bisect test: test exit codes on bad usage bisect--helper: emit usage for "git bisect" bisect; remove unused "git-bisect.sh" and ".gitignore" entry tests: mark tests as passing with SANITIZE=leak {reset,merge}: call discard_index() before returning commit: discard partial cache before (re-)reading it read-cache.c: clear and free "sparse_checkout_patterns" dir.c: free "ident" and "exclude_per_dir" in "struct untracked_cache" built-ins & libs & helpers: add/move destructors, fix leaks unpack-file: fix ancient leak in create_temp_file() revision API: call graph_clear() in release_revisions() ls-files: fix a --with-tree memory leak sequencer.c: fix "opts->strategy" leak in read_strategy_opts() connected.c: free the "struct packed_git" rebase: don't leak on "--abort" cherry-pick: free "struct replay_opts" members revert: fix parse_options_concat() leak built-ins: use free() not UNLEAK() if trivial, rm dead code t5314: check exit code of "git" t7600: don't ignore "rev-parse" exit code in helper t4023: fix ignored exit codes of git Makefile: use sha1collisiondetection by default on OSX and Darwin bundle: don't segfault on "git bundle " protocol v2: add server-side "bundle-uri" skeleton t: create test harness for 'bundle-uri' command clone: request the 'bundle-uri' command when available bundle-uri client: add boolean transfer.bundleURI setting bundle-uri client: add helper for testing server submodule absorbgitdirs tests: add missing "Migrating git..." tests submodule.c & submodule--helper: pass along "super_prefix" param submodule--helper: don't use global --super-prefix in "absorbgitdirs" submodule--helper: convert "foreach" to its own "--super-prefix" submodule--helper: convert "sync" to its own "--super-prefix" submodule--helper: convert "status" to its own "--super-prefix" submodule--helper: convert "{update,clone}" to their own "--super-prefix" read-tree: add "--super-prefix" option, eliminate global builtin/bundle.c: remove superfluous "newargc" variable bundle : have usage_msg_opt() note the missing "" builtin/difftool.c: { 0 }-initialize rather than using memset() sparse-index.c: expand_to_path() can assume non-NULL "istate" sparse-index API: BUG() out on NULL ensure_full_index() read-cache.c: refactor set_new_index_sparsity() for subsequent commit bisect--helper: make the order consistently `argc, argv` ls-tree: don't use "show_tree_data" for "fast" callbacks ls-tree: use a "struct options" ls-tree: fold "show_tree_data" into "cb" struct ls-tree: make "line_termination" less generic env-helper: move this built-in to "test-tool env-helper" cache API: add a "INDEX_STATE_INIT" macro/function, add release_index() treewide: always have a valid "index_state.repo" member add: remove "add.interactive.useBuiltin" & Perl "git add--interactive" add API: remove run_add_interactive() wrapper function docs & comments: replace mentions of "git-add--interactive.perl" tests: mark tests as passing with SANITIZE=leak bundle.c: don't leak the "args" in the "struct child_process" commit-graph: use free_commit_graph() instead of UNLEAK() clone: use free() instead of UNLEAK() various: add missing clear_pathspec(), fix leaks name-rev: don't xstrdup() an already dup'd string repack: fix leaks on error with "goto cleanup" worktree: fix a trivial leak in prune_worktrees() http-backend.c: fix "dir" and "cmd_arg" leaks in cmd_main() http-backend.c: fix cmd_main() memory leak, refactor reg{exec,free}() commit-graph: fix a parse_options_concat() leak show-branch: free() allocated "head" before return builtin/merge.c: use fixed strings, not "strbuf", fix leak builtin/merge.c: free "&buf" on "Your local changes..." error grep.c: refactor free_grep_patterns() grep API: plug memory leaks by freeing "header_list" receive-pack: release the linked "struct command *" list push: refactor refspec_append_mapped() for subsequent leak-fix push: free_refs() the "local_refs" in set_refspecs() rebase: use "cleanup" pattern in do_interactive_rebase() sequencer.c: split up sequencer_remove_state() sequencer API users: fix get_replay_opts() leaks builtin/revert.c: move free-ing of "revs" to replay_opts_release() builtin/rebase.c: fix "options.onto_name" leak sequencer.c: always free() the "msgbuf" in do_pick_commit() builtin/rebase.c: free() "options.strategy_opts" commit.c: free() revs.commit in get_fork_point() config.h: remove unused git_configset_add_parameters() run-command.c: remove dead assignment in while-loop builtin/rm.c: use narrower "USE_THE_INDEX_VARIABLE" cocci & cache.h: fully apply "active_nr" part of index-compatibility cocci & cache.h: apply pending "index_cache_pos" rule cocci & cache-tree.h: migrate "write_cache_as_tree" to "*_index_*" cache-tree API: remove redundant update_main_cache_tree() cocci & cache.h: remove "USE_THE_INDEX_COMPATIBILITY_MACROS" Đoàn Trần Công Danh (6): bisect: fix output regressions in v2.30.0 bisect run: keep some of the post-v2.30.0 output bisect-run: verify_good: account for non-negative exit status bisect--helper: identify as bisect when report error bisect--helper: log: allow arbitrary number of arguments date.c: allow ISO 8601 reduced precision times [Less]
Posted about 1 year ago by Johannes Schindelin
Dear Git users, I hereby announce that Git for Windows 2.40.0-rc1 is available from: https://github.com/git-for-windows/git/releases/tag/v2.40.0-rc1.windows.1 Changes since Git for Windows v2.39.2 (February 14th 2023) As announced previously ... [More] , Git for Windows will drop support for Windows 7 and for Windows 8 in one of the next versions, following Cygwin's and MSYS2's lead (Git for Windows relies on MSYS2 for components such as Bash and Perl). Also following the footsteps of the MSYS2 and Cygwin projects on which Git for Windows depends, the 32-bit variant of Git for Windows is nearing its end of support. New Features * Comes with Git v2.40.0-rc1. * In the olden Git days, there were "dashed" Git commands (e.g. git-commit instead of git commit). These haven't been supported for interactive use in a really, really long time. But they still worked in Git aliases and hooks ("scripts"). Since Git v1.5.4 (released on February 2nd, 2008), it was discouraged/deprecated to use dashed Git commands even in scripts. As of this version, Git for Windows no longer supports these dashed commands. * Comes with tig v2.5.8. * Comes with Bash v5.2 patchlevel 15. * Comes with OpenSSL v1.1.1t. * Comes with GNU TLS v3.8.0. * Comes with cURL v7.88.1. * Comes with libfido2 v1.13.0. * Comes with Git Credential Manager v2.0.935. Bug Fixes * Some commands mishandled absolute paths near the drive root (e.g. scalar unregister C:/foo), which has been fixed. * When trying to call Cygwin (or for that matter, MSYS2) programs from Git Bash, users would frequently be greeted with cryptic error messages about a "cygheap" or even just an even more puzzling exit code 127. Many of these calls now succeed, allowing basic interactions. While it is still not possible for, say, Cygwin's vim.exe to interact with the Git Bash's terminal window, it is now possible for Cygwin's zstd.exe in conjuction with Git for Windows' tar.exe to handle .tar.zst archives. Git-2.40.0-rc1-64-bit.exe | 69dfa0bfbec9e5836561968421adb60133ce3aaba6acc01ddb45e2e042a59d5f Git-2.40.0-rc1-32-bit.exe | 6cd10560bdf090d920e4a15c23070b469a5a9e35b277a0a6e6fd69e8e7be9efe PortableGit-2.40.0-rc1-64-bit.7z.exe | 37233d2e767c43b0d3b65bb3fb2151dd600fdf5d61db83db048bd5f6d1d6aade PortableGit-2.40.0-rc1-32-bit.7z.exe | fb40cfff8e435843b0fff724c03a89cac973cf5f1844b322a75718ee23d01a65 MinGit-2.40.0-rc1-64-bit.zip | 96977c7cca2278878f155c7f50ba1b3e46102442606beab8a15d5aa813dbe762 MinGit-2.40.0-rc1-32-bit.zip | 3ab0bee7839a1e2228c09b31229ea1da74971e76207973c1ee6151037d723207 MinGit-2.40.0-rc1-busybox-64-bit.zip | 0f2c7622658ceda02012e0c038a762fd46135a60cef4f823b7b0ae2fc66cb58c MinGit-2.40.0-rc1-busybox-32-bit.zip | f98139fff494e405a125702dd6c4a3127246ecafce4db7dc85325dc0a668d8f8 Git-2.40.0-rc1-64-bit.tar.bz2 | d22ab790bf89228e25fbd661076cd40a1ac59109f9ab7d2eb9d25eaf883a3ab5 Git-2.40.0-rc1-32-bit.tar.bz2 | 6117a414bc1e24f3b0b995c695cbb795eb431ed40648474eef77dc83ba374eeb Ciao, Johannes [Less]
Posted about 1 year ago by Junio C Hamano
A release candidate Git v2.40.0-rc1 is now available for testing at the usual places. It is comprised of 458 non-merge commits since v2.39.0, contributed by 78 people, 30 of which are new faces [*]. The tarballs are found at: ... [More] https://www.kernel.org/pub/software/scm/git/testing/ The following public repositories all have a copy of the 'v2.40.0-rc1' tag and the 'master' branch that the tag points at: url = https://git.kernel.org/pub/scm/git/git url = https://kernel.googlesource.com/pub/scm/git/git url = git://repo.or.cz/alt-git.git url = https://github.com/gitster/git New contributors whose contributions weren't in v2.39.0 are as follows. Welcome to the Git development community! Adam Szkoda, Alison Winters, Ashutosh Pandey, Carl Baldwin, Daniël Haazen, Drew Noakes, Eric Sesterhenn, Gwyneth Morgan, Harshil-Jani, Hubert Jasudowicz, idriss fekir, Kostya Farber, Marco Nenciarini, Markus Vervier, Matheus Tavares Bernardino, Mathias Krause, Pat LaVarre, Peter Grayson, Rudy Rigot, Seija, Seija Kijin, Simon Gerber, Thierry Reding, [email protected], Wes Lord, Yukai Chou, Yutaro Ohno, yvvdwf, Zhang Yi, and 孟子易. Returning contributors who helped this release are as follows. Thanks for your continued support. Ævar Arnfjörð Bjarmason, Andrei Rybak, Calvin Wan, Carlo Marcelo Arenas Belón, Christian Couder, Chris. Webster, Derrick Stolee, Đoàn Trần Công Danh, Elijah Newren, Emily Shaffer, Eric Sunshine, Eric Wong, Erik Cervin Edin, Glen Choo, Jeff Hostetler, Jeff King, Jiang Xin, Joern Schneeweisz, Johannes Schindelin, Johannes Sixt, John Cai, Jonathan Tan, Junio C Hamano, Karthik Nayak, Kevin Willford, Kyle Meyer, Kyle Zhao, Lars Kellogg-Stedman, Martin Ågren, Matthias Aßhauer, M Hickford, Patrick Steinhardt, Philip Oakley, Philippe Blain, Phillip Wood, Randall S. Becker, René Scharfe, Rubén Justo, Sean Allred, Siddharth Asthana, Sven Strickroth, SZEDER Gábor, Taylor Blau, Teng Long, Torsten Bögershausen, William Sprent, Yoichi Nakayama, and ZheNing Hu. [*] We are counting not just the authorship contribution but issue reporting, mentoring, helping and reviewing that are recorded in the commit trailers. ---------------------------------------------------------------- Git v2.40 Release Notes (draft) =============================== UI, Workflows & Features * "merge-tree" learns a new `--merge-base` option. * "git jump" (in contrib/) learned to present the "quickfix list" to its standard output (instead of letting it consumed by the editor it invokes), and learned to also drive emacs/emacsclient. * "git var UNKNOWN_VARIABLE" and "git var VARIABLE" with the variable given an empty value used to behave identically. Now the latter just gives an empty output, while the former still gives an error message. * Introduce a case insensitive mode to the Bash completion helpers. * The advice message given by "git status" when it takes long time to enumerate untracked paths has been updated. * Just like "git var GIT_EDITOR" abstracts the complex logic to choose which editor gets used behind it, "git var" now give support to GIT_SEQUENCE_EDITOR. * "git format-patch" learned to honor format.mboxrd even when sending patches to the standard output stream, * 'cat-file' gains mailmap support for its '--batch-check' and '-s' options. * Conditionally skip the pre-applypatch and applypatch-msg hooks when applying patches with 'git am'. * Introduce an optional configuration to allow the trailing hash that protects the index file from bit flipping. * "git check-attr" learned to take an optional tree-ish to read the .gitattributes file from. * "scalar" learned to give progress bar. * "grep -P" learned to use Unicode Character Property to grok character classes when processing \b and \w etc. * "git rebase" often ignored incompatible options instead of complaining, which has been corrected. * "scalar" warns but continues when its periodic maintenance feature cannot be enabled. * The bundle-URI subsystem adds support for creation-token heuristics to help incremental fetches. * Userdiff regexp update for Java language. * "git fetch --jobs=0" used to hit a BUG(), which has been corrected to use the available CPUs. * An invalid label or ref in the "rebase -i" todo file used to trigger an runtime error. SUch an error is now diagnosed while the todo file is parsed. * The "diff" drivers specified by the "diff" attribute attached to paths can now specify which algorithm (e.g. histogram) to use. * "git range-diff" learned --abbrev= option. * "git archive HEAD^{tree}" records the paths with the current timestamp in the archive, making it harder to obtain a stable output. The command learned the --mtime option to specify an arbitrary timestamp (e.g. --mtime="@0 +0000" for the epoch). * The credential subsystem learned that a password may have an explicit expiration. * The format.attach configuration variable lacked a way to override a value defined in a lower-priority configuration file (e.g. the system one) by redefining it in a higher-priority configuration file. Now, setting format.attach to an empty string means show the patch inline in the e-mail message, without using MIME attachment. This is a backward incompatible change. Performance, Internal Implementation, Development Support etc. * `git bisect` becomes a builtin. * The pack-bitmap machinery is taught to log the paths of redundant bitmap(s) to trace2 instead of stderr. * Use the SHA1DC implementation on macOS, just like other platforms, by default. * Even in a repository with promisor remote, it is useless to attempt to lazily attempt fetching an object that is expected to be commit, because no "filter" mode omits commit objects. Take advantage of this assumption to fail fast on errors. * Stop using "git --super-prefix" and narrow the scope of its use to the submodule--helper. * Stop running win+VS build by default. * CI updates. We probably want a clean-up to move the long shell script embedded in yaml file into a separate file, but that can come later. * Use `git diff --no-index` as a test_cmp on Windows. We'd probably need to revisit "do we really want to, and have to, lose CRLF vs LF?" later, at which time we may be able to further clean this up by replacing "git diff --no-index" with "diff -u". * Avoid unnecessary builds in CI, with settings configured in ci-config. * Plug leaks in sequencer subsystem and its users. * In-tree .gitattributes update to match the way we recommend our users to mark a file as text. (merge 1f34e0cd3d po/attributes-text later to maint). * Finally retire the scripted "git add -p/-i" implementation and have everybody use the one reimplemented in C. Fixes since v2.39 ----------------- * Various leak fixes. * Fix a bug where `pack-objects` would not respect multiple `--filter` arguments when invoked directly. (merge d4f7036887 rs/multi-filter-args later to maint). * Make fsmonitor more robust to avoid the flakiness seen in t7527. (merge 6692d45477 jh/t7527-unflake-by-forcing-cookie later to maint). * Stop using deprecated macOS API in fsmonitor. (merge b0226007f0 jh/fsmonitor-darwin-modernize later to maint). * Redefining system functions for a few functions did not follow our usual "implement git_foo() and #define foo(args) git_foo(args)" pattern, which has broken build for some folks. * The way the diff machinery prepares the options array for the parse_options API has been refactored to avoid resource leaks. (merge 189e97bc4b rs/diff-parseopts later to maint). * Correct pthread API usage. (merge 786e67611d sx/pthread-error-check-fix later to maint). * The code to auto-correct a misspelt subcommand unnecessarily called into git_default_config() from the early config codepath, which was a no-no. This has bee corrected. (merge 0918d08887 sg/help-autocorrect-config-fix later to maint). * "git http-fetch" (which is rarely used) forgot to identify itself in the trace2 output. (merge 7abb43cbc8 jt/http-fetch-trace2-report-name later to maint). * The output from "git diff --stat" on an unmerged path lost the terminating LF in Git 2.39, which has been corrected. (merge 209d9cb011 pg/diff-stat-unmerged-regression-fix later to maint). * "git pull -v --recurse-submodules" attempted to pass "-v" down to underlying "git submodule update", which did not understand the request and barfed, which has been corrected. (merge 6f65f84766 ss/pull-v-recurse-fix later to maint). * When given a pattern that matches an empty string at the end of a line, the code to parse the "git diff" line-ranges fell into an infinite loop, which has been corrected. * Fix the sequence to fsync $GIT_DIR/packed-refs file that forgot to flush its output to the disk.. * Fix to a small regression in 2.38 days. * "git diff --relative" did not mix well with "git diff --ext-diff", which has been corrected. * The logic to see if we are using the "cone" mode by checking the sparsity patterns has been tightened to avoid mistaking a pattern that names a single file as specifying a cone. * Deal with a few deprecation warning from cURL library. * Doc update for environment variables set when hooks are invoked. * Document ORIG_HEAD a bit more. * "git ls-tree --format='%(path) %(path)' $tree $path" showed the path three times, which has been corrected. * Remove "git env--helper" and demote it to a test-tool subcommand. (merge 4a1baacd46 ab/test-env-helper later to maint). * Newer regex library macOS stopped enabling GNU-like enhanced BRE, where '\(A\|B\)' works as alternation, unless explicitly asked with the REG_ENHANCED flag. "git grep" now can be compiled to do so, to retain the old behaviour. * Pthread emulation on Win32 leaked thread handle when a thread is joined. (merge 238a9dfe86 sk/win32-close-handle-upon-pthread-join later to maint). * "git send-email -v 3" used to be expanded to "git send-email --validate 3" when the user meant to pass them down to "format-patch", which has been corrected. (merge 8774aa56ad km/send-email-with-v-reroll-count later to maint). * Document that "branch -f " disables only the safety to avoid recreating an existing branch. * "git fetch ", when "" of remotes lists the same remote twice, unnecessarily failed when parallel fetching was enabled, which has been corrected. (merge 06a668cb90 cw/fetch-remote-group-with-duplication later to maint). * Clarify how "checkout -b/-B" and "git branch [-f]" are similar but different in the documentation. * "git hash-object" now checks that the resulting object is well formed with the same code as "git fsck". (merge 8e4309038f jk/hash-object-fsck later to maint). * Improve the error message given when private key is not loaded in the ssh agent in the codepath to sign with an ssh key. (merge dce7b31126 as/ssh-signing-improve-key-missing-error later to maint). * Adjust "git request-pull" to strip embedded signature from signed tags to notice non-PGP signatures. (merge a9cad02538 gm/request-pull-with-non-pgp-signed-tags later to maint). * Remove support for MSys, which now lags way behind MSys2. (merge 2987407f3c hj/remove-msys-support later to maint). * Fix use of CreateThread() API call made early in the windows start-up code. (merge 592bcab61b sk/winansi-createthread-fix later to maint). * "git pack-objects" learned to release delta-island bitmap data when it is done using it, saving peak heap memory usage. (merge 647982bb71 ew/free-island-marks later to maint). * In an environment where dynamically generated code is prohibited to run (e.g. SELinux), failure to JIT pcre patterns is expected. Fall back to interpreted execution in such a case. (merge 50b6ad55b0 cb/grep-fallback-failing-jit later to maint). * "git name-rev" heuristics update. (merge b2182a8730 en/name-rev-make-taggerdate-much-less-important later to maint). * Remove more remaining uses of macros that relies on the_index singleton instance without explicitly spelling it out. * Remove unnecessary explicit sizing of strbuf. (merge 93ea118bed rs/cache-tree-strbuf-growth-fix later to maint). * Doc update. (merge d9ec3b0dc0 jk/doc-ls-remote-matching later to maint). * Error messages given upon a signature verification failure used to discard the errors from underlying gpg program, which has been corrected. (merge ad6b320756 js/gpg-errors later to maint). * Update --date=default documentation. (merge 9deef088ae rd/doc-default-date-format later to maint). * A test helper had a single write(2) of 256kB, which was too big for some platforms (e.g. NonStop), which has been corrected by using xwrite() wrapper appropriately. (merge 58eab6ff13 jc/genzeros-avoid-raw-write later to maint). * sscanf(3) used in "git symbolic-ref --short" implementation found to be not working reliably on macOS in UTF-8 locales. Rewrite the code to avoid sscanf() altogether to work it around. (merge 613bef56b8 jk/shorten-unambiguous-ref-wo-sscanf later to maint). * Various fix-ups on HTTP tests. (merge 8f2146dbf1 jk/http-test-fixes later to maint). * Fixes to code that parses the todo file used in "rebase -i". (merge 666b6e1135 pw/rebase-i-parse-fix later to maint). * Test library clean-up. (merge c600a91c94 ar/test-lib-remove-stale-comment later to maint). * Other code cleanup, docfix, build fix, etc. (merge 4eb1ccecd4 dh/mingw-ownership-check-typofix later to maint). (merge f95526419b ar/typofix-gitattributes-doc later to maint). (merge 27875aeec9 km/doc-branch-start-point later to maint). (merge 35c194dc57 es/t1509-root-fixes later to maint). (merge 7b341645e3 pw/ci-print-failure-name-fix later to maint). (merge bcb71d45bf jx/t1301-updates later to maint). (merge ebdc46c242 jc/doc-diff-patch.txt later to maint). (merge a87a20cbb4 ar/test-cleanup later to maint). (merge f5156f1885 ar/bisect-doc-update later to maint). (merge fca2d86c97 jk/interop-error later to maint). (merge cf4936ed74 tl/ls-tree-code-clean-up later to maint). (merge dcb47e52b0 en/t6426-todo-cleanup later to maint). (merge 5b8db44bdd jc/format-patch-v-unleak later to maint). (merge 590b636737 jk/hash-object-literally-fd-leak later to maint). (merge 5458ba0a4d tb/t0003-invoke-dd-more-portably later to maint). (merge 70661d288b ar/markup-em-dash later to maint). (merge e750951e74 en/ls-files-doc-update later to maint). (merge 4f542975d1 mh/doc-credential-cache-only-in-core later to maint). (merge 3a2ebaebc7 gc/index-format-doc later to maint). (merge b08edf709d jk/httpd-test-updates later to maint). (merge d85e9448dd wl/new-command-doc later to maint). (merge d912a603ed kf/t5000-modernise later to maint). (merge e65b868d07 rs/size-t-fixes later to maint). (merge 3eb1e1ca9a ab/config-h-remove-unused later to maint). (merge d390e08076 cw/doc-pushurl-vs-url later to maint). (merge 567342fc77 rs/ctype-test later to maint). (merge d35d8f2e7a ap/t2015-style-update later to maint). ---------------------------------------------------------------- Changes since v2.39.0 are as follows: Adam Szkoda (1): ssh signing: better error message when key not in agent Alison Winters (2): completion: add optional ignore-case when matching refs completion: add case-insensitive match of pseudorefs Andrei Rybak (12): gitattributes.txt: fix typo in "comma separated" *: fix typos which duplicate a word git-bisect-lk2009: update java code conventions link git-bisect-lk2009: update nist report link t6003: uncomment test '--max-age=c3, --topo-order' t6422: drop commented out code t7527: use test_when_finished in 'case insensitive+preserving' Documentation: render dash correctly userdiff: support Java type parameters userdiff: support Java record types userdiff: support Java sealed classes test-lib: drop comment about test_description Ashutosh Pandey (1): t2015-checkout-unborn.sh: changes the style for cd Calvin Wan (2): fetch: fix duplicate remote parallel fetch bug Documentation: clarify multiple pushurls vs urls Carlo Marcelo Arenas Belón (2): test-lib: add prerequisite for 64-bit platforms grep: correctly identify utf-8 characters with \{b,w} in -P Chris. Webster (3): ci (check-whitespace): suggest fixes for errors ci (check-whitespace): add links to job output ci (check-whitespace): move to actions/checkout@v3 Daniël Haazen (1): mingw: fix typo in an error message from ownership check Derrick Stolee (25): transport: rename got_remote_heads bundle-uri: serve bundle.* keys from config strbuf: introduce strbuf_strip_file_from_path() bundle-uri: allow relative URLs in bundle lists bundle-uri: download bundles from an advertised list clone: unbundle the advertised bundles hashfile: allow skipping the hash function read-cache: add index.skipHash config option test-lib-functions: add helper for trailing hash features: feature.manyFiles implies fast index writes t1600: fix racy index.skipHash test t: allow 'scalar' in test_must_fail t921*: test scalar behavior starting maintenance scalar: only warn when background maintenance fails bundle: test unbundling with incomplete history bundle: verify using check_connected() t5558: add tests for creationToken heuristic bundle-uri: parse bundle.heuristic=creationToken bundle-uri: parse bundle..creationToken values bundle-uri: download in creationToken order clone: set fetch.bundleURI if appropriate bundle-uri: drop bundle.flag from design doc fetch: fetch from an external bundle URI bundle-uri: store fetch.bundleCreationToken bundle-uri: test missing bundles with heuristic Elijah Newren (16): ls-files: add missing documentation for --resolve-undo option ls-files: clarify descriptions of file selection options ls-files: clarify descriptions of status tags for -t ls-files: guide folks to --exclude-standard over other --exclude* options t6426: fix TODO about making test more comprehensive rebase: mark --update-refs as requiring the merge backend rebase: flag --apply and --merge as incompatible rebase: remove --allow-empty-message from incompatible opts rebase: fix docs about incompatibilities with --root rebase: fix incompatiblity checks for --[no-]reapply-cherry-picks rebase: add coverage of other incompatible options rebase: clarify the OPT_CMDMODE incompatibilities rebase: fix formatting of rebase --reapply-cherry-picks option in docs rebase: put rebase_options initialization in single place rebase: provide better error message for apply options vs. merge config name-rev: fix names by dropping taggerdate workaround Emily Shaffer (4): run-command: allow stdin for run_processes_parallel hook API: support passing stdin to hooks, convert am's 'post-rewrite' sequencer: use the new hook API for the simpler "post-rewrite" call hook: support a --to-stdin= option Eric Sunshine (4): t1509: fix failing "root work tree" test due to owner-check t1509: make "setup" test more robust t1509: facilitate repeated script invocations githooks: discuss Git operations in foreign repositories Eric Wong (2): format-patch: support format.mboxrd with --stdout delta-islands: free island_marks and bitmaps Glen Choo (2): read-tree + fetch tests: test failing "--super-prefix" interaction docs: document zero bits in index "mode" Gwyneth Morgan (1): request-pull: filter out SSH/X.509 tag signatures Harshil-Jani (2): mingw: remove duplicate `USE_NED_ALLOCATOR` directive mingw: remove msysGit/MSYS1 support Jeff Hostetler (2): fsmonitor: fix race seen in t7527 fsmonitor: eliminate call to deprecated FSEventStream function Jeff King (74): git-jump: move valid-mode check earlier pack-bitmap.c: break out of the bitmap loop early if not tracing pack-bitmap.c: trace bitmap ignore logs when midx-bitmap is found git-compat-util: avoid redefining system function names git-compat-util: undefine system names before redeclaring them server_supports_v2(): use a separate function for die_on_error ls-refs: use repository parameter to iterate refs blob: drop unused parts of parse_blob_buffer() list-objects: drop process_gitlink() function ws: drop unused parameter from ws_blank_line() xdiff: drop unused parameter in def_ff() xdiff: mark unused parameter in xdl_call_hunk_func() diff: mark unused parameters in callbacks list-objects-filter: mark unused parameters in virtual functions userdiff: mark unused parameter in internal callback ref-filter: reject arguments to %(HEAD) ref-filter: factor out "%(foo) does not take arguments" errors ref-filter: factor out "unrecognized %(foo) arg" errors ref-filter: truncate atom names in error messages ref-filter: convert email atom parser to use err_bad_arg() test-bundle-uri: drop unused variables diff: use filespec path to set up tempfiles for ext-diff diff: clean up external-diff argv setup diff: drop "name" parameter from prepare_temp_file() convert trivial uses of strncmp() to starts_with() convert trivial uses of strncmp() to skip_prefix() object-file: inline calls to read_object() streaming: inline call to read_object_file_extended() read_object_file_extended(): drop lookup_replace option repo_read_object_file(): stop wrapping read_object_file_extended() packfile: inline custom read_object() object-file: fix indent-with-space t/interop: report which vanilla git command failed http-push: prefer CURLOPT_UPLOAD to CURLOPT_PUT http: prefer CURLOPT_SEEKFUNCTION to CURLOPT_IOCTLFUNCTION http: support CURLOPT_PROTOCOLS_STR t1007: modernize malformed object tests t1006: stop using 0-padded timestamps t7030: stop using invalid tag name t: use hash-object --literally when created malformed objects fsck: provide a function to fsck buffer without object struct hash-object: use fsck for object checks hash-object: fix descriptor leak with --literally fsck: do not assume NUL-termination of buffers t/lib-httpd: bump required apache version to 2.2 t/lib-httpd: bump required apache version to 2.4 t/lib-httpd: drop SSLMutex config t/lib-httpd: increase ssl key size to 2048 bits http-push: prefer CURLOPT_UPLOAD to CURLOPT_PUT http: prefer CURLOPT_SEEKFUNCTION to CURLOPT_IOCTLFUNCTION http: support CURLOPT_PROTOCOLS_STR doc/ls-remote: cosmetic cleanups for examples doc/ls-remote: clarify pattern format shorten_unambiguous_ref(): avoid integer truncation shorten_unambiguous_ref(): use NUM_REV_PARSE_RULES constant shorten_unambiguous_ref(): avoid sscanf() add basic http proxy tests t0066: drop setup of "dir5" t5541: run "used receive-pack service" test earlier t5541: stop marking "used receive-pack service" test as v0 only t5541: simplify and move "no empty path components" test t5551: drop redundant grep for Accept-Language t5551: lower-case headers in expected curl trace t5551: handle HTTP/2 when checking curl trace t5551: stop forcing clone to run with v0 protocol t5551: handle v2 protocol when checking curl trace t5551: handle v2 protocol in upload-pack service test t5551: simplify expected cookie file t5551: handle v2 protocol in cookie test t5551: drop curl trace lines without headers t/lib-httpd: respect $HTTPD_PROTO in expect_askpass() t/lib-httpd: enable HTTP/2 "h2" protocol, not just h2c t5559: fix test failures with LIB_HTTPD_SSL t5559: make SSL/TLS the default Jiang Xin (3): t1301: fix wrong template dir for git-init t1301: use test_when_finished for cleanup t1301: do not change $CWD in "shared=all" test case Johannes Schindelin (24): bisect--helper: handle states directly Turn `git bisect` into a full built-in t0021: use Windows-friendly `pwd` tests(mingw): avoid very slow `mingw_test_cmp` ci: only run win+VS build & tests in Git for Windows' fork bisect--helper: simplify exit code computation bisect: verify that a bogus option won't try to start a bisection bisect run: fix the error message bisect: remove Cogito-related code bisect: no longer try to clean up left-over `.git/head-name` files fsck: document the new `gitattributes` message IDs attr: adjust a mismatched data type attr: adjust a mismatched data type Git 2.31.7 Git 2.32.6 Git 2.33.7 Git 2.34.7 Git 2.35.7 Git 2.36.5 Git 2.37.6 Git 2.38.4 Git 2.39.2 t7510: add a test case that does not need gpg gpg: do show gpg's error message upon failure Johannes Sixt (1): t3920: don't ignore errors of more than one command with `|| true` John Cai (4): docs: link generating patch sections attr: fix instructions on how to check attrs diff: consolidate diff algorithm option parsing diff: teach diff to read algorithm from diff driver Jonathan Tan (5): http-fetch: invoke trace2_cmd_name() object-file: remove OBJECT_INFO_IGNORE_LOOSE object-file: refactor map_loose_object_1() object-file: emit corruption errors when detected commit: don't lazy-fetch commits Junio C Hamano (41): Git 2.30.7 Git 2.31.6 Git 2.32.5 Git 2.33.6 Git 2.34.6 Git 2.35.6 Git 2.36.4 Git 2.37.5 Git 2.38.3 Git 2.39.1 Start the 2.40 cycle The first batch for 2.40 The second batch The third batch The fourth batch The fifth batch The sixth batch format-patch: unleak "-v " The seventh batch branch: document `-f` and linked worktree behaviour checkout: document -b/-B to highlight the differences from "git branch" The eighth batch The ninth batch The tenth batch The eleventh batch The twelfth batch The thirteenth batch Git 2.30.8 The fourteenth batch The fifteenth batch Prepare for 2.39.3 just in case The sixteenth batch rev-list: clarify git-log default date format test-genzeros: avoid raw write(2) format.attach: allow empty value to disable multi-part messages The seventeenth batch Git 2.40-rc0 A few more topics post 2.40-rc0 A bit more before 2.40-rc1 A bit more before 2.40-rc1 Git 2.40-rc1 Karthik Nayak (2): t0003: move setup for `--all` into new block attr: add flag `--source` to work with tree-ish Kostya Farber (1): t5000: modernise archive and :(glob) test Kyle Meyer (2): send-email: relay '-v N' to format-patch doc/git-branch: fix --force description typo Kyle Zhao (3): merge-tree.c: add --merge-base= option merge-tree.c: allow specifying the merge-base when --stdin is passed docs: fix description of the `--merge-base` option Lars Kellogg-Stedman (1): line-range: fix infinite loop bug with '$' regex M Hickford (2): Documentation: clarify that cache forgets credentials if the system restarts credential: new attribute password_expiry_utc Martin Ågren (1): git-cat-file.txt: fix list continuations rendering literally Mathias Krause (1): grep: fall back to interpreter if JIT memory allocation fails Matthias Aßhauer (1): fetch: choose a sensible default with --jobs=0 again Patrick Steinhardt (28): attr: fix overflow when upserting attribute with overly long name attr: fix out-of-bounds read with huge attribute names attr: fix integer overflow when parsing huge attribute names attr: fix out-of-bounds write when parsing huge number of attributes attr: fix out-of-bounds read with unreasonable amount of patterns attr: fix integer overflow with more than INT_MAX macros attr: harden allocation against integer overflows attr: fix silently splitting up lines longer than 2048 bytes attr: ignore attribute lines exceeding 2048 bytes attr: ignore overly large gitattributes files pretty: fix out-of-bounds write caused by integer overflow pretty: fix out-of-bounds read when left-flushing with stealing pretty: fix out-of-bounds read when parsing invalid padding format pretty: fix adding linefeed when placeholder is not expanded pretty: fix integer overflow in wrapping format utf8: fix truncated string lengths in `utf8_strnwidth()` utf8: fix returning negative string width utf8: fix overflow when returning string width utf8: fix checking for glyph width in `strbuf_utf8_replace()` utf8: refactor `strbuf_utf8_replace` to not rely on preallocated buffer pretty: restrict input lengths for padding and wrapping formats fsck: refactor `fsck_blob()` to allow for more checks fsck: pull out function to check a set of blobs fsck: move checks for gitattributes fsck: implement checks for gitattributes refs: fix corruption by not correctly syncing packed-refs to disk apply: fix writing behind newly created symbolic links delta-islands: fix segfault when freeing island marks Peter Grayson (1): diff: fix regression with --stat and unmerged file Philip Oakley (6): doc: pretty-formats: separate parameters from placeholders doc: pretty-formats: delineate `%<|(` parameter values doc: pretty-formats document negative column alignments doc: pretty-formats describe use of ellipsis in truncation doc: pretty-formats note wide char limitations, and add tests .gitattributes: include `text` attribute for eol attributes Philippe Blain (6): git-cherry-pick.txt: do not use 'ORIG_HEAD' in example git-reset.txt: mention 'ORIG_HEAD' in the Description git-merge.txt: mention 'ORIG_HEAD' in the Description revisions.txt: be explicit about commands writing 'ORIG_HEAD' git-rebase.txt: add a note about 'ORIG_HEAD' being overwritten branch: improve advice when --recurse-submodules fails Phillip Wood (5): ci(github): restore "print test failures" step name rebase: cleanup "--exec" option handling rebase -i: check labels and refs when parsing todo list rebase -i: match whole word in is_command() rebase -i: fix parsing of "fixup -C" René Scharfe (30): t5317: stop losing return codes of git ls-files t5317: demonstrate failure to handle multiple --filter options pack-objects: fix handling of multiple --filter options pack-objects: simplify --filter handling list-objects-filter: remove OPT_PARSE_LIST_OBJECTS_FILTER_INIT() t4205: don't exit test script on failure diff: factor out add_diff_options() diff: use add_diff_options() in diff_opt_parse() diff: remove parseopts member from struct diff_options list-objects-filter: plug pattern_list leak t3920: support CR-eating grep reflog: clear leftovers in reflog_expiry_cleanup() commit: skip already cleared parents in clear_commit_marks_1() am: don't pass strvec to apply_parse_options() object-file: inline write_buffer() use enhanced basic regular expressions on macOS mingw: make argv2 in try_shell_exec() non-const factor out BARF_UNLESS_COPYABLE do full type check in BARF_UNLESS_COPYABLE add DUP_ARRAY use DUP_ARRAY ls-tree: fix expansion of repeated %(path) ls-tree: remove dead store and strbuf for quote_c_style() read-cache: use size_t for {base,df}_name_compare() pack-objects: use strcspn(3) in name_cmp_len() cache-tree: fix strbuf growth in prime_cache_tree_rec() test-ctype: test isascii test-ctype: test islower and isupper test-ctype: test iscntrl, ispunct, isxdigit and isprint archive: add --mtime Rubén Justo (1): branch: force-copy a branch to itself via @{-1} is a no-op Rudy Rigot (1): status: modernize git-status "slow untracked files" advice SZEDER Gábor (1): tests: make 'test_oid' print trailing newline Sean Allred (3): var: do not print usage() with a correct invocation var: allow GIT_EDITOR to return null var: add GIT_SEQUENCE_EDITOR variable Seija (1): maintenance: compare output of pthread functions for inequality with 0 Seija Kijin (6): git: remove duplicate includes win32: use _endthreadex to terminate threads, not ExitThread win32: prepare pthread.c for change by formatting win32: close handles of threads that have been joined merge: break out of all_strategy loop when strategy is found compat/winansi: check for errors of CreateThread() correctly Siddharth Asthana (2): cat-file: add mailmap support to -s option cat-file: add mailmap support to --batch-check option Simon Gerber (1): help.c: fix autocorrect in work tree for bare repository Sven Strickroth (1): submodule: accept -v for the update command Taylor Blau (5): ci: avoid unnecessary builds t5619: demonstrate clone_local() with ambiguous transport clone: delay picking a transport until after get_repo_path() dir-iterator: prevent top-level symlinks without FOLLOW_SYMLINKS dir-iterator: drop unused `DIR_ITERATOR_FOLLOW_SYMLINKS` Teng Long (5): pack-bitmap.c: remove unnecessary "open_pack_index()" calls pack-bitmap.c: avoid exposing absolute paths ls-tree: cleanup the redundant SPACE t3104: remove shift code in 'test_ls_tree_format' range-diff: let '--abbrev' option takes effect Thierry Reding (1): am: allow passing --no-verify flag Torsten Bögershausen (1): t0003: call dd with portable blocksize Wes Lord (1): new-command.txt: update reference to builtin docs William Sprent (1): dir: check for single file cone patterns Yoichi Nakayama (2): git-jump: add an optional argument '--stdout' git-jump: invoke emacs/emacsclient Yukai Chou (1): doc: fix non-existent config name Yutaro Ohno (1): doc: add "git switch -c" as another option on detached HEAD Zhang Yi (1): t9700: modernize test scripts ZheNing Hu (1): scalar: show progress if stderr refers to a terminal idriss fekir (1): trace.c, git.c: remove unnecessary parameter to trace_repo_setup() Ævar Arnfjörð Bjarmason (90): bisect tests: test for v2.30.0 "bisect run" regressions bisect: refactor bisect_run() to match CodingGuidelines bisect test: test exit codes on bad usage bisect--helper: emit usage for "git bisect" bisect; remove unused "git-bisect.sh" and ".gitignore" entry tests: mark tests as passing with SANITIZE=leak {reset,merge}: call discard_index() before returning commit: discard partial cache before (re-)reading it read-cache.c: clear and free "sparse_checkout_patterns" dir.c: free "ident" and "exclude_per_dir" in "struct untracked_cache" built-ins & libs & helpers: add/move destructors, fix leaks unpack-file: fix ancient leak in create_temp_file() revision API: call graph_clear() in release_revisions() ls-files: fix a --with-tree memory leak sequencer.c: fix "opts->strategy" leak in read_strategy_opts() connected.c: free the "struct packed_git" rebase: don't leak on "--abort" cherry-pick: free "struct replay_opts" members revert: fix parse_options_concat() leak built-ins: use free() not UNLEAK() if trivial, rm dead code t5314: check exit code of "git" t7600: don't ignore "rev-parse" exit code in helper t4023: fix ignored exit codes of git Makefile: use sha1collisiondetection by default on OSX and Darwin bundle: don't segfault on "git bundle " protocol v2: add server-side "bundle-uri" skeleton t: create test harness for 'bundle-uri' command clone: request the 'bundle-uri' command when available bundle-uri client: add boolean transfer.bundleURI setting bundle-uri client: add helper for testing server submodule absorbgitdirs tests: add missing "Migrating git..." tests submodule.c & submodule--helper: pass along "super_prefix" param submodule--helper: don't use global --super-prefix in "absorbgitdirs" submodule--helper: convert "foreach" to its own "--super-prefix" submodule--helper: convert "sync" to its own "--super-prefix" submodule--helper: convert "status" to its own "--super-prefix" submodule--helper: convert "{update,clone}" to their own "--super-prefix" read-tree: add "--super-prefix" option, eliminate global builtin/bundle.c: remove superfluous "newargc" variable bundle : have usage_msg_opt() note the missing "" builtin/difftool.c: { 0 }-initialize rather than using memset() sparse-index.c: expand_to_path() can assume non-NULL "istate" sparse-index API: BUG() out on NULL ensure_full_index() read-cache.c: refactor set_new_index_sparsity() for subsequent commit bisect--helper: make the order consistently `argc, argv` ls-tree: don't use "show_tree_data" for "fast" callbacks ls-tree: use a "struct options" ls-tree: fold "show_tree_data" into "cb" struct ls-tree: make "line_termination" less generic env-helper: move this built-in to "test-tool env-helper" cache API: add a "INDEX_STATE_INIT" macro/function, add release_index() treewide: always have a valid "index_state.repo" member add: remove "add.interactive.useBuiltin" & Perl "git add--interactive" add API: remove run_add_interactive() wrapper function docs & comments: replace mentions of "git-add--interactive.perl" tests: mark tests as passing with SANITIZE=leak bundle.c: don't leak the "args" in the "struct child_process" commit-graph: use free_commit_graph() instead of UNLEAK() clone: use free() instead of UNLEAK() various: add missing clear_pathspec(), fix leaks name-rev: don't xstrdup() an already dup'd string repack: fix leaks on error with "goto cleanup" worktree: fix a trivial leak in prune_worktrees() http-backend.c: fix "dir" and "cmd_arg" leaks in cmd_main() http-backend.c: fix cmd_main() memory leak, refactor reg{exec,free}() commit-graph: fix a parse_options_concat() leak show-branch: free() allocated "head" before return builtin/merge.c: use fixed strings, not "strbuf", fix leak builtin/merge.c: free "&buf" on "Your local changes..." error grep.c: refactor free_grep_patterns() grep API: plug memory leaks by freeing "header_list" receive-pack: release the linked "struct command *" list push: refactor refspec_append_mapped() for subsequent leak-fix push: free_refs() the "local_refs" in set_refspecs() rebase: use "cleanup" pattern in do_interactive_rebase() sequencer.c: split up sequencer_remove_state() sequencer API users: fix get_replay_opts() leaks builtin/revert.c: move free-ing of "revs" to replay_opts_release() builtin/rebase.c: fix "options.onto_name" leak sequencer.c: always free() the "msgbuf" in do_pick_commit() builtin/rebase.c: free() "options.strategy_opts" commit.c: free() revs.commit in get_fork_point() config.h: remove unused git_configset_add_parameters() run-command.c: remove dead assignment in while-loop builtin/rm.c: use narrower "USE_THE_INDEX_VARIABLE" cocci & cache.h: fully apply "active_nr" part of index-compatibility cocci & cache.h: apply pending "index_cache_pos" rule cocci & cache-tree.h: migrate "write_cache_as_tree" to "*_index_*" cache-tree API: remove redundant update_main_cache_tree() cocci & cache.h: remove "USE_THE_INDEX_COMPATIBILITY_MACROS" Đoàn Trần Công Danh (6): bisect: fix output regressions in v2.30.0 bisect run: keep some of the post-v2.30.0 output bisect-run: verify_good: account for non-negative exit status bisect--helper: identify as bisect when report error bisect--helper: log: allow arbitrary number of arguments date.c: allow ISO 8601 reduced precision times [Less]
Posted about 1 year ago by Christian Couder
Hi everyone, The 96th edition of Git Rev News is now published: https://git.github.io/rev_news/2023/02/28/edition-96/ Thanks a lot to Bruno Brito who helped this month! Enjoy, Christian, Jakub, Markus and Kaartic. PS: An issue for the next ... [More] edition is already opened and contributions are welcome: https://github.com/git/git.github.io/issues/631 [Less]