{"thread":{"id":"62108","subject":"[ANNOUNCE] Git v2.46.1","startedAt":"2024-09-14T16:52:49Z","lastAt":"2024-09-15T01:16:22Z","messageCount":2,"participants":["Junio C Hamano","rsbecker@nexbridge.com"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"502790","messageId":"xmqqikuytbxd.fsf@gitster.g","threadId":"62108","inReplyTo":null,"subject":"[ANNOUNCE] Git v2.46.1","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2024-09-14T16:52:46Z","receivedAt":"2024-09-14T16:52:49Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"The latest maintenance release Git v2.46.1 is now available at the\nusual places.  Unlike maintenance releases in the recent past, this\none is _not_ about security fixes, but primarily about fixes to\nvarious commands that can work outside a repository barfing due to\nlack of initialization of the hash function.  IOW, it is not the end\nof the world if you did not update to this version for a few weeks,\nor wait for 2.47 ;-).\n\nThe tarballs are found at:\n\n    https://www.kernel.org/pub/software/scm/git/\n\nThe following public repositories all have a copy of the 'v2.46.1'\ntag and the 'maint' branch that the tag points at:\n\n  url = https://git.kernel.org/pub/scm/git/git\n  url = https://kernel.googlesource.com/pub/scm/git/git\n  url = git://repo.or.cz/alt-git.git\n  url = https://github.com/gitster/git\n\n----------------------------------------------------------------\n\nGit 2.46.1 Release Notes\n========================\n\nThis release is primarily to merge fixes accumulated on the 'master'\nfront to prepare for 2.47 release that are still relevant to 2.46.x\nmaintenance track.\n\nFixes since Git 2.46\n--------------------\n\n * \"git checkout --ours\" (no other arguments) complained that the\n   option is incompatible with branch switching, which is technically\n   correct, but found confusing by some users.  It now says that the\n   user needs to give pathspec to specify what paths to checkout.\n\n * It has been documented that we avoid \"VAR=VAL shell_func\" and why.\n\n * \"git add -p\" by users with diff.suppressBlankEmpty set to true\n   failed to parse the patch that represents an unmodified empty line\n   with an empty line (not a line with a single space on it), which\n   has been corrected.\n\n * \"git rebase --help\" referred to \"offset\" (the difference between\n   the location a change was taken from and the change gets replaced)\n   incorrectly and called it \"fuzz\", which has been corrected.\n\n * \"git notes add -m '' --allow-empty\" and friends that take prepared\n   data to create notes should not invoke an editor, but it started\n   doing so since Git 2.42, which has been corrected.\n\n * An expensive operation to prepare tracing was done in re-encoding\n   code path even when the tracing was not requested, which has been\n   corrected.\n\n * Perforce tests have been updated.\n\n * The credential helper to talk to OSX keychain sometimes sent\n   garbage bytes after the username, which has been corrected.\n\n * A recent update broke \"git ls-remote\" used outside a repository,\n   which has been corrected.\n\n * \"git config --value=foo --fixed-value section.key newvalue\" barfed\n   when the existing value in the configuration file used the\n   valueless true syntax, which has been corrected.\n\n * \"git reflog expire\" failed to honor annotated tags when computing\n   reachable commits.\n\n * A flakey test and incorrect calls to strtoX() functions have been\n   fixed.\n\n * Follow-up on 2.45.1 regression fix.\n\n * \"git rev-list ... | git diff-tree -p --remerge-diff --stdin\" should\n   behave more or less like \"git log -p --remerge-diff\" but instead it\n   crashed, forgetting to prepare a temporary object store needed.\n\n * The patch parser in \"git patch-id\" has been tightened to avoid\n   getting confused by lines that look like a patch header in the log\n   message.\n\n * \"git bundle unbundle\" outside a repository triggered a BUG()\n   unnecessarily, which has been corrected.\n\n * The code forgot to discard unnecessary in-core commit buffer data\n   for commits that \"git log --skip=<number>\" traversed but omitted\n   from the output, which has been corrected.\n\n * \"git verify-pack\" and \"git index-pack\" started dying outside a\n   repository, which has been corrected.\n\n * A corner case bug in \"git stash\" was fixed.\n\nAlso contains minor documentation updates and code clean-ups.\n\n----------------------------------------------------------------\n\nChanges since v2.46.0 are as follows:\n\nCeleste Liu (1):\n      doc: replace 3 dash with correct 2 dash in git-config(1)\n\nD Harithamma (1):\n      convert: return early when not tracing\n\nDavid Disseldorp (1):\n      notes: do not trigger editor when adding an empty note\n\nJayson Rhynas (1):\n      doc: fix hex code escapes in git-ls-files\n\nJeff King (4):\n      credential/osxkeychain: respect NUL terminator in username\n      apply: canonicalize modes read from patches\n      t4129: fix racy index when calling chmod after git-add\n      revision: free commit buffers for skipped commits\n\nJohannes Schindelin (2):\n      ci: bump microsoft/setup-msbuild from v1 to v2\n      ci(win+VS): download the vcpkg artifacts using a dedicated GitHub Action\n\nJunio C Hamano (30):\n      checkout: special case error messages during noop switching\n      doc: note that AT&T ksh does not work with our test suite\n      Revert \"reflog expire: don't use lookup_commit_reference_gently()\"\n      howto-maintain: cover a whole development cycle\n      howto-maintain: update daily tasks\n      CodingGuidelines: document a shell that \"fails\" \"VAR=VAL shell_func\"\n      doc: difference in location to apply is \"offset\", not \"fuzz\"\n      mailmap: plug memory leak in read_mailmap_blob()\n      csum-file: introduce discard_hashfile()\n      t4204: patch-id supports various input format\n      patch-id: call flush_current_id() only when needed\n      patch-id: make get_one_patchid() more extensible\n      patch-id: rewrite code that detects the beginning of a patch\n      patch-id: tighten code to detect the patch header\n      safe.directory: preliminary clean-up\n      safe.directory: normalize the checked path\n      safe.directory: normalize the configured path\n      safe.directory: setting safe.directory=\".\" allows the \"current\" directory\n      t0018: remove leftover debugging cruft\n      tests: drop use of 'tee' that hides exit status\n      tutorial: grammofix\n      doc: grammofix in git-diff-tree\n      howto-maintain: mention preformatted docs\n      Prepare for 2.46.1\n      CodingGuidelines: spaces around C operators\n      A bit more topics for 2.46.x maintenance track\n      git-config.1: --get-all description update\n      git-config.1: fix description of --regexp in synopsis\n      Another batch of topics for 2.46.1\n      Git 2.46.1\n\nJustin Tobler (1):\n      doc: clarify post-receive hook behavior\n\nKousik Sanagavarapu (1):\n      unit-tests/test-lib: fix typo in check_pointer_eq() description\n\nKyle Lippincott (2):\n      set errno=0 before strtoX calls\n      t6421: fix test to work when repo dir contains d0\n\nPatrick Steinhardt (8):\n      t98xx: fix Perforce tests with p4d r23 and newer\n      ci: update Perforce version to r23.2\n      t98xx: mark Perforce tests as memory-leak free\n      builtin/ls-remote: fall back to SHA1 outside of a repo\n      builtin/bundle: have unbundle check for repo before opening its bundle\n      bundle: default to SHA1 when reading bundle headers\n      builtin/stash: fix `--keep-index --include-untracked` with empty HEAD\n      builtin/index-pack: fix segfaults when running outside of a repo\n\nPhillip Wood (2):\n      add-patch: handle splitting hunks with diff.suppressBlankEmpty\n      add-patch: use normalize_marker() when recounting edited hunk\n\nRamsay Jones (1):\n      compat/terminal: mark parameter of git_terminal_prompt() UNUSED\n\nRené Scharfe (2):\n      t-example-decorate: remove test messages\n      log-tree: use decimal_width()\n\nSven Strickroth (1):\n      refs/files: prevent memory leak by freeing packed_ref_store\n\nTaylor Blau (1):\n      config.c: avoid segfault with --fixed-value and valueless config\n\nTomas Nordin (1):\n      doc: remove dangling closing parenthesis\n\nXing Xin (1):\n      diff-tree: fix crash when used with --remerge-diff\n\nahmed akef (1):\n      docs: explain the order of output in the batched mode of git-cat-file(1)\n\n"},{"id":"502799","messageId":"023601db070c$db740f60$925c2e20$@nexbridge.com","threadId":"62108","inReplyTo":"xmqqikuytbxd.fsf@gitster.g","subject":"RE: [ANNOUNCE] Git v2.46.1","fromName":"","fromEmail":"rsbecker@nexbridge.com","sentAt":"2024-09-15T01:16:08Z","receivedAt":"2024-09-15T01:16:22Z","isPatch":false,"sender":{"key":"randall.becker@nexbridge.ca","avatar":"https://avatars.githubusercontent.com/u/28956764?v=4"},"body":"On September 14, 2024 12:53 PM, Junio C Hamano wrote:\n>To: git@vger.kernel.org\n>Cc: Linux Kernel <linux-kernel@vger.kernel.org>; git-packagers@googlegroups.com\n>Subject: [ANNOUNCE] Git v2.46.1\n>\n>The latest maintenance release Git v2.46.1 is now available at the usual places.\n>Unlike maintenance releases in the recent past, this one is _not_ about security\n>fixes, but primarily about fixes to various commands that can work outside a\n>repository barfing due to lack of initialization of the hash function.  IOW, it is not the\n>end of the world if you did not update to this version for a few weeks, or wait for\n>2.47 ;-).\n\nSuccessfully deployed for NonStop x86 and ia64. Thank you, team, for all your efforts.\n--Randall\n\n"}]}