<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t, branch v2.45.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.45.0</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.45.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2024-04-25T17:34:24Z</updated>
<entry>
<title>Merge branch 'rj/add-i-leak-fix'</title>
<updated>2024-04-25T17:34:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-25T17:34:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e326e520101dcf43a0499c3adc2df7eca30add2d'/>
<id>urn:sha1:e326e520101dcf43a0499c3adc2df7eca30add2d</id>
<content type='text'>
Leakfix.

* rj/add-i-leak-fix:
  add: plug a leak on interactive_add
  add-patch: plug a leak handling the '/' command
  add-interactive: plug a leak in get_untracked_files
  apply: plug a leak in apply_data
</content>
</entry>
<entry>
<title>Merge branch 'mr/rerere-crash-fix'</title>
<updated>2024-04-23T18:52:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-23T18:52:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7b66f5dd8bb553905eaa162d93f000026b241079'/>
<id>urn:sha1:7b66f5dd8bb553905eaa162d93f000026b241079</id>
<content type='text'>
When .git/rr-cache/ rerere database gets corrupted or rerere is fed to
work on a file with conflicted hunks resolved incompletely, the rerere
machinery got confused and segfaulted, which has been corrected.

* mr/rerere-crash-fix:
  rerere: fix crashes due to unmatched opening conflict markers
</content>
</entry>
<entry>
<title>Merge branch 'ps/missing-btmp-fix'</title>
<updated>2024-04-23T18:52:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-23T18:52:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=567293123d874bfb0607de7e8d6c65642107f132'/>
<id>urn:sha1:567293123d874bfb0607de7e8d6c65642107f132</id>
<content type='text'>
GIt 2.44 introduced a regression that makes the updated code to
barf in repositories with multi-pack index written by older
versions of Git, which has been corrected.

* ps/missing-btmp-fix:
  pack-bitmap: gracefully handle missing BTMP chunks
</content>
</entry>
<entry>
<title>Merge branch 'dd/t9604-use-posix-timezones'</title>
<updated>2024-04-23T18:52:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-23T18:52:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b258237f4dca7c13d56c662825547ddd742461c3'/>
<id>urn:sha1:b258237f4dca7c13d56c662825547ddd742461c3</id>
<content type='text'>
The cvsimport tests required that the platform understands
traditional timezone notations like CST6CDT, which has been
updated to work on those systems as long as they understand
POSIX notation with explicit tz transition dates.

* dd/t9604-use-posix-timezones:
  t9604: Fix test for musl libc and new Debian
</content>
</entry>
<entry>
<title>Merge branch 'ta/fast-import-parse-path-fix'</title>
<updated>2024-04-23T18:52:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-23T18:52:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=050e3349792d182ba1fd1ba25135c99103d15ade'/>
<id>urn:sha1:050e3349792d182ba1fd1ba25135c99103d15ade</id>
<content type='text'>
The way "git fast-import" handles paths described in its input has
been tightened up and more clearly documented.

* ta/fast-import-parse-path-fix:
  fast-import: make comments more precise
  fast-import: forbid escaped NUL in paths
  fast-import: document C-style escapes for paths
  fast-import: improve documentation for path quoting
  fast-import: remove dead strbuf
  fast-import: allow unquoted empty path for root
  fast-import: directly use strbufs for paths
  fast-import: tighten path unquoting
</content>
</entry>
<entry>
<title>add: plug a leak on interactive_add</title>
<updated>2024-04-22T23:27:43Z</updated>
<author>
<name>Rubén Justo</name>
<email>rjusto@gmail.com</email>
</author>
<published>2024-04-22T22:54:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=16727404c48ba1c2f43fb966276aee0b8cb24389'/>
<id>urn:sha1:16727404c48ba1c2f43fb966276aee0b8cb24389</id>
<content type='text'>
Plug a leak we have since 5a76aff1a6 (add: convert to use
parse_pathspec, 2013-07-14).

This leak can be triggered with:
    $ git add -p anything

Fixing this leak allows us to mark as leak-free the following tests:

    + t3701-add-interactive.sh
    + t7514-commit-patch.sh

Mark them with "TEST_PASSES_SANITIZE_LEAK=true" to notice and fix
promply any new leak that may be introduced and triggered by them in the
future.

Signed-off-by: Rubén Justo &lt;rjusto@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>apply: plug a leak in apply_data</title>
<updated>2024-04-22T23:27:42Z</updated>
<author>
<name>Rubén Justo</name>
<email>rjusto@gmail.com</email>
</author>
<published>2024-04-22T22:54:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=71c791605365d1873ef631bfc478fcd75080a063'/>
<id>urn:sha1:71c791605365d1873ef631bfc478fcd75080a063</id>
<content type='text'>
We have an execution path in apply_data that leaks the local struct
image.  Plug it.

This leak can be triggered with:

    $ echo foo &gt;file
    $ git add file &amp;&amp; git commit -m file
    $ echo bar &gt;file
    $ git diff file &gt;diff
    $ sed s/foo/frotz/ &lt;diff &gt;baddiff
    $ git apply --cached &lt;baddiff

Fixing this leak allows us to mark as leak-free the following tests:

    + t2016-checkout-patch.sh
    + t4103-apply-binary.sh
    + t4104-apply-boundary.sh
    + t4113-apply-ending.sh
    + t4117-apply-reject.sh
    + t4123-apply-shrink.sh
    + t4252-am-options.sh
    + t4258-am-quoted-cr.sh

Mark them with "TEST_PASSES_SANITIZE_LEAK=true" to notice and fix
promply any new leak that may be introduced and triggered by them in the
future.

Signed-off-by: Rubén Justo &lt;rjusto@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'pw/t3428-cleanup'</title>
<updated>2024-04-16T21:50:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-16T21:50:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=93e3f9df7adf56059447ca2d9b2349091f82e4de'/>
<id>urn:sha1:93e3f9df7adf56059447ca2d9b2349091f82e4de</id>
<content type='text'>
Test cleanup.

* pw/t3428-cleanup:
  t3428: restore coverage for "apply" backend
  t3428: use test_commit_message
  t3428: modernize test setup
</content>
</entry>
<entry>
<title>Merge branch 'jt/reftable-geometric-compaction'</title>
<updated>2024-04-16T21:50:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-16T21:50:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=82a31ec32441cd06daa5e0397a73f4159cdaad4b'/>
<id>urn:sha1:82a31ec32441cd06daa5e0397a73f4159cdaad4b</id>
<content type='text'>
The strategy to compact multiple tables of reftables after many
operations accumulate many entries has been improved to avoid
accumulating too many tables uncollected.

* jt/reftable-geometric-compaction:
  reftable/stack: use geometric table compaction
  reftable/stack: add env to disable autocompaction
  reftable/stack: expose option to disable auto-compaction
</content>
</entry>
<entry>
<title>Merge branch 'rs/date-mode-pass-by-value'</title>
<updated>2024-04-16T21:50:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-16T21:50:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=107313eb11931a66ec4cd3f83bd6c260f296ad19'/>
<id>urn:sha1:107313eb11931a66ec4cd3f83bd6c260f296ad19</id>
<content type='text'>
The codepaths that reach date_mode_from_type() have been updated to
pass "struct date_mode" by value to make them thread safe.

* rs/date-mode-pass-by-value:
  date: make DATE_MODE thread-safe
</content>
</entry>
</feed>
