<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git, branch v2.31.0-rc2</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v2.31.0-rc2</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v2.31.0-rc2'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2021-03-09T00:09:43Z</updated>
<entry>
<title>Git 2.31-rc2</title>
<updated>2021-03-09T00:09:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-03-09T00:09:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=13d7ab6b5d7929825b626f050b62a11241ea4945'/>
<id>urn:sha1:13d7ab6b5d7929825b626f050b62a11241ea4945</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Sync with Git 2.30.2 for CVE-2021-21300</title>
<updated>2021-03-09T00:09:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-03-09T00:09:07Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=56a57652ef8e4ca2f108a8719b8caeed5e153c95'/>
<id>urn:sha1:56a57652ef8e4ca2f108a8719b8caeed5e153c95</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jt/transfer-fsck-across-packs-fix'</title>
<updated>2021-03-09T00:04:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-03-09T00:04:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=6c46f864e5db7c88fdee1d67dcc20a4451a12ca2'/>
<id>urn:sha1:6c46f864e5db7c88fdee1d67dcc20a4451a12ca2</id>
<content type='text'>
The code to fsck objects received across multiple packs during a
single git fetch session has been broken when the packfile URI
feature was in use.  A workaround has been added by disabling the
codepath to avoid keeping a packfile that is too small.

* jt/transfer-fsck-across-packs-fix:
  fetch-pack: do not mix --pack_header and packfile uri
</content>
</entry>
<entry>
<title>fetch-pack: do not mix --pack_header and packfile uri</title>
<updated>2021-03-05T23:04:09Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2021-03-05T01:16:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=2aec3bc4b64ae4980dda86ed77f372a1f66acc7f'/>
<id>urn:sha1:2aec3bc4b64ae4980dda86ed77f372a1f66acc7f</id>
<content type='text'>
When fetching (as opposed to cloning) from a repository with packfile
URIs enabled, an error like this may occur:

 fatal: pack has bad object at offset 12: unknown object type 5
 fatal: finish_http_pack_request gave result -1
 fatal: fetch-pack: expected keep then TAB at start of http-fetch output

This bug was introduced in b664e9ffa1 ("fetch-pack: with packfile URIs,
use index-pack arg", 2021-02-22), when the index-pack args used when
processing the inline packfile of a fetch response and when processing
packfile URIs were unified.

This bug happens because fetch, by default, partially reads (and
consumes) the header of the inline packfile to determine if it should
store the downloaded objects as a packfile or loose objects, and thus
passes --pack_header=&lt;...&gt; to index-pack to inform it that some bytes
are missing. However, when it subsequently fetches the additional
packfiles linked by URIs, it reuses the same index-pack arguments, thus
wrongly passing --index-pack-arg=--pack_header=&lt;...&gt; when no bytes are
missing.

This does not happen when cloning because "git clone" always passes
do_keep, which instructs the fetch mechanism to always retain the
packfile, eliminating the need to read the header.

There are a few ways to fix this, including filtering out pack_header
arguments when downloading the additional packfiles, but I decided to
stick to always using index-pack throughout when packfile URIs are
present - thus, Git no longer needs to read the bytes, and no longer
needs --pack_header here.

Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merged the open-eintr workaround for macOS</title>
<updated>2021-03-04T23:42:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-03-04T23:42:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=be7935ed8bff19f481b033d0d242c5d5f239ed50'/>
<id>urn:sha1:be7935ed8bff19f481b033d0d242c5d5f239ed50</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation/RelNotes: improve release note for rename detection work</title>
<updated>2021-03-04T23:38:11Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2021-03-04T22:51:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=58d581c3446cb616b216307d6b47539bccd494cf'/>
<id>urn:sha1:58d581c3446cb616b216307d6b47539bccd494cf</id>
<content type='text'>
There were some early changes in the 2.31 cycle to optimize some setup
in diffcore-rename.c[1], some later changes to measure performance[2],
and finally some significant changes to improve rename detection
performance.  The final one was merged with the note

   Performance optimization work on the rename detection continues.

That works for the commit log, but feels misleading as a release note
since all the changes were within one cycle.  Simplify this to just

   Performance improvements for rename detection.

The former wording could be seen as hinting that more performance
improvements will come in 2.32, which is true, but we can just cover
those in the 2.32 release notes when the time comes.

[1] a5ac31b5b1 (Merge branch 'en/diffcore-rename', 2021-01-25)
[2] d3a035b055 (Merge branch 'en/merge-ort-perf', 2021-02-11)
[3] 12bd17521c (Merge branch 'en/diffcore-rename', 2021-03-01)

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/open-returns-eintr'</title>
<updated>2021-03-04T23:34:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-03-04T23:34:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=921846fa22adb0abc3fb35e18c6be5feb5091cdd'/>
<id>urn:sha1:921846fa22adb0abc3fb35e18c6be5feb5091cdd</id>
<content type='text'>
Work around platforms whose open() is reported to return EINTR (it
shouldn't, as we do our signals with SA_RESTART).

* jk/open-returns-eintr:
  config.mak.uname: enable OPEN_RETURNS_EINTR for macOS Big Sur
  Makefile: add OPEN_RETURNS_EINTR knob
</content>
</entry>
<entry>
<title>Merge https://github.com/prati0100/git-gui</title>
<updated>2021-03-04T20:38:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-03-04T20:38:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=85c787f1e9476c3b8cbeeb4656973d0f1efd9881'/>
<id>urn:sha1:85c787f1e9476c3b8cbeeb4656973d0f1efd9881</id>
<content type='text'>
* https://github.com/prati0100/git-gui:
  Revert "git-gui: remove lines starting with the comment character"
</content>
</entry>
<entry>
<title>Merge branch 'py/revert-commit-comments'</title>
<updated>2021-03-04T08:29:45Z</updated>
<author>
<name>Pratyush Yadav</name>
<email>me@yadavpratyush.com</email>
</author>
<published>2021-03-04T08:29:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=df4f9e28f64ea97032ec70d9c8894dc87a1b7f9e'/>
<id>urn:sha1:df4f9e28f64ea97032ec70d9c8894dc87a1b7f9e</id>
<content type='text'>
This commit causes breakage on macOS, or in fact any platform using
older versions of Tcl. Revert it.

* py/revert-commit-comments:
  Revert "git-gui: remove lines starting with the comment character"
</content>
</entry>
<entry>
<title>Revert "git-gui: remove lines starting with the comment character"</title>
<updated>2021-03-04T08:23:27Z</updated>
<author>
<name>Pratyush Yadav</name>
<email>me@yadavpratyush.com</email>
</author>
<published>2021-03-04T08:23:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=c0698df0579a14270e491b2f1ffdfc39d3b86310'/>
<id>urn:sha1:c0698df0579a14270e491b2f1ffdfc39d3b86310</id>
<content type='text'>
This reverts commit b9a43869c9f96d3577d6f568c1bda1940c8f0e31.

This commit causes breakage on macOS (10.13). It causes errors on
startup and completely breaks the commit functionality. There are two
main problems. First, it uses `string cat` which is not supported on
older Tcl versions. Second, it does a half close of the bidirectional
pipe to git-stripspace which is also not supported on older Tcl
versions.

Reported-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Pratyush Yadav &lt;me@yadavpratyush.com&gt;
</content>
</entry>
</feed>
