<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t1016-compatObjectFormat.sh, branch main</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2026-02-08T01:41:00Z</updated>
<entry>
<title>repository: require Rust support for interoperability</title>
<updated>2026-02-08T01:41:00Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2026-02-07T20:04:31Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=13ecc938422b204170a3276edb427e0ff38e3670'/>
<id>urn:sha1:13ecc938422b204170a3276edb427e0ff38e3670</id>
<content type='text'>
We'll be implementing some of our interoperability code, like the loose
object map, in Rust.  While the code currently compiles with the old
loose object map format, which is written entirely in C, we'll soon
replace that with the Rust-based implementation.

Require the use of Rust for compatibility mode and die if it is not
supported.  Because the repo argument is not used when Rust is missing,
cast it to void to silence the compiler warning, which we do not care
about.

Add a prerequisite in our tests, RUST, that checks if Rust functionality
is available and use it in the tests that handle interoperability.

This is technically a regression in functionality compared to our
existing state, but pack index v3 is not yet implemented and thus the
functionality is mostly quite broken, which is why we've recently marked
this functionality as experimental.  We don't believe anyone is getting
useful use out of the interoperability code in its current state, so no
actual users should be negatively impacted by this change.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'eb/t1016-hash-transition-fix'</title>
<updated>2025-11-04T15:48:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-11-04T15:48:09Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=55e8615d1845aeb5e2276c9cee87ef141f9c7447'/>
<id>urn:sha1:55e8615d1845aeb5e2276c9cee87ef141f9c7447</id>
<content type='text'>
Test fix.

* eb/t1016-hash-transition-fix:
  t1016-compatObjectFormat: really freeze time for reproduciblity
</content>
</entry>
<entry>
<title>t1016-compatObjectFormat: really freeze time for reproduciblity</title>
<updated>2025-10-29T03:10:15Z</updated>
<author>
<name>Eric W. Biederman</name>
<email>ebiederm@xmission.com</email>
</author>
<published>2025-10-28T16:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=f711f37b05b7ff11038a707ec1f0f72aca98581c'/>
<id>urn:sha1:f711f37b05b7ff11038a707ec1f0f72aca98581c</id>
<content type='text'>
The strategy in t1016-compatObjectFormat is to build two trees with
identical commits, one tree encoded in sha1 the other tree encoded
in sha256 and to use the compatibility code to test and see if
the two trees are identical.

GPG signatures include the current time as part of the signature.

To make gpg deterministic I forced the use of gpg --faked-system-time.
Unfortunately I did not look closely enough.

By default gpg still allows time to move forward with --faked-system-time.
So in those rare instances when the system is heavily loaded and gpg runs
slower than other times, signatures over the exact same data differ
due to timestamps with a minuscule difference.

Reading through the gpg documentation with a close eye, time can be
frozen by including an exclamation point at the end of the argument to
--faked-system-time.

Add the exclamation point so gpg really runs with a fixed notion of time,
resulting in the exact same data having identical gpg signatures.

That is enough that I can run "t1016-compatObjectFormat.sh --stress"
and I don't see any failures.

It is possible a future change to gpg will make replay protection more
robust and not provide a way to allow two separate runs of gpg to
produce exactly the same signature for exactly the same data.  If that
happens a deeper comparison of the two repositories will need to be
performed.  A comparison that simply verifies the signatures and
compares the data for equality.  For now that is a lot of work
for no gain so I am just documenting the possibility.

Signed-off-by: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/t1016-setup-fix'</title>
<updated>2025-10-24T20:48:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-10-24T20:48:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=78bf9ce0d19cf8af14712ffb6544c16730b0e954'/>
<id>urn:sha1:78bf9ce0d19cf8af14712ffb6544c16730b0e954</id>
<content type='text'>
GPG signing test set-up has been broken for a year, which has been
corrected.

* jc/t1016-setup-fix:
  t1016: make sure to use specified GPG
</content>
</entry>
<entry>
<title>t1016: make sure to use specified GPG</title>
<updated>2025-10-10T20:51:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-10-10T20:51:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=516bf45749bba4a7e640894fb21c46db5be06db0'/>
<id>urn:sha1:516bf45749bba4a7e640894fb21c46db5be06db0</id>
<content type='text'>
c348192a (t1016: clean up style, 2024-10-22) fixed a coding style
violation that has an extra space between redirection operator "&gt;"
and the redirection target, but at the same time, replaced the use
of "git config" to set a configuration variable to be used by the
remainder of tests with "test_config".  The pattern employed here is
that the first set-up test prepares the environment to be used by
subsequent tests, which then use the settings left by this set-up
test to perform their tasks.  Using test_config in the first set-up
test means the config setting made by the set-up test is reverted at
the end of the first set-up test, which totally misses the point.

Go back to use "git config" to fix this.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ps/leakfixes-part-10'</title>
<updated>2024-12-04T01:14:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-12-04T01:14:38Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=a5dd262a7504fc816d0aad7c7dc7eb73cb0adf82'/>
<id>urn:sha1:a5dd262a7504fc816d0aad7c7dc7eb73cb0adf82</id>
<content type='text'>
Leakfixes.

* ps/leakfixes-part-10: (27 commits)
  t: remove TEST_PASSES_SANITIZE_LEAK annotations
  test-lib: unconditionally enable leak checking
  t: remove unneeded !SANITIZE_LEAK prerequisites
  t: mark some tests as leak free
  t5601: work around leak sanitizer issue
  git-compat-util: drop now-unused `UNLEAK()` macro
  global: drop `UNLEAK()` annotation
  t/helper: fix leaking commit graph in "read-graph" subcommand
  builtin/branch: fix leaking sorting options
  builtin/init-db: fix leaking directory paths
  builtin/help: fix leaks in `check_git_cmd()`
  help: fix leaking return value from `help_unknown_cmd()`
  help: fix leaking `struct cmdnames`
  help: refactor to not use globals for reading config
  builtin/sparse-checkout: fix leaking sanitized patterns
  split-index: fix memory leak in `move_cache_to_base_index()`
  git: refactor builtin handling to use a `struct strvec`
  git: refactor alias handling to use a `struct strvec`
  strvec: introduce new `strvec_splice()` function
  line-log: fix leak when rewriting commit parents
  ...
</content>
</entry>
<entry>
<title>t: remove TEST_PASSES_SANITIZE_LEAK annotations</title>
<updated>2024-11-20T23:23:48Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2024-11-20T13:39:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=fc1ddf42af6742fae7e770cae20e30d7902014c0'/>
<id>urn:sha1:fc1ddf42af6742fae7e770cae20e30d7902014c0</id>
<content type='text'>
Now that the default value for TEST_PASSES_SANITIZE_LEAK is `true` there
is no longer a need to have that variable declared in all of our tests.
Drop it.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t1016: clean up style</title>
<updated>2024-11-03T23:30:04Z</updated>
<author>
<name>Andrew Kreimer</name>
<email>algonell@gmail.com</email>
</author>
<published>2024-11-03T13:50:42Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=a1fb77fcb8865e3d878baa88227c1a6e9d1dc398'/>
<id>urn:sha1:a1fb77fcb8865e3d878baa88227c1a6e9d1dc398</id>
<content type='text'>
Adhere to Documentation/CodingGuidelines:
  - Whitespace and redirect operator.
  - Case arms indentation.
  - Tabs for indentation.

Signed-off-by: Andrew Kreimer &lt;algonell@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t1016: clean up style</title>
<updated>2024-10-22T16:35:05Z</updated>
<author>
<name>Andrew Kreimer</name>
<email>algonell@gmail.com</email>
</author>
<published>2024-10-22T11:07:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=c348192afee2c6375f1b4e61bcd54c0c126dccfc'/>
<id>urn:sha1:c348192afee2c6375f1b4e61bcd54c0c126dccfc</id>
<content type='text'>
Use `test_config`.

Remove whitespace after redirect operator.

Reported-by: Taylor Blau &lt;me@ttaylorr.com&gt;
Signed-off-by: Andrew Kreimer &lt;algonell@gmail.com&gt;
Signed-off-by: Taylor Blau &lt;me@ttaylorr.com&gt;
</content>
</entry>
<entry>
<title>t: fix typos</title>
<updated>2024-10-17T20:14:56Z</updated>
<author>
<name>Andrew Kreimer</name>
<email>algonell@gmail.com</email>
</author>
<published>2024-10-17T11:28:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=f1eea0b620b07a51d5455558c807713ef0ba7609'/>
<id>urn:sha1:f1eea0b620b07a51d5455558c807713ef0ba7609</id>
<content type='text'>
Fix typos in documentation, comments, etc.

Via codespell.

Signed-off-by: Andrew Kreimer &lt;algonell@gmail.com&gt;
Signed-off-by: Taylor Blau &lt;me@ttaylorr.com&gt;
</content>
</entry>
</feed>
