<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t, branch v2.29.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.29.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.29.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2020-10-29T21:18:47Z</updated>
<entry>
<title>Merge branch 'jk/committer-date-is-author-date-fix' into maint</title>
<updated>2020-10-29T21:18:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-10-29T21:18:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4f9f7c14426bde47416067e2d202b05ed2c3fc6a'/>
<id>urn:sha1:4f9f7c14426bde47416067e2d202b05ed2c3fc6a</id>
<content type='text'>
In 2.29, "--committer-date-is-author-date" option of "rebase" and
"am" subcommands lost the e-mail address by mistake, which has been
corrected.

* jk/committer-date-is-author-date-fix:
  rebase: fix broken email with --committer-date-is-author-date
  am: fix broken email with --committer-date-is-author-date
  t3436: check --committer-date-is-author-date result more carefully
</content>
</entry>
<entry>
<title>rebase: fix broken email with --committer-date-is-author-date</title>
<updated>2020-10-23T15:25:22Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2020-10-23T07:10:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5f35edd9d7ebca17f205b338d340cc6ce214644a'/>
<id>urn:sha1:5f35edd9d7ebca17f205b338d340cc6ce214644a</id>
<content type='text'>
Commit 7573cec52c (rebase -i: support --committer-date-is-author-date,
2020-08-17) copied the committer ident-parsing code from builtin/am.c.
And in doing so, it copied a bug in which we always set the email to an
empty string. We fixed the version in git-am in the previous commit;
this commit fixes the copied code.

Reported-by: VenomVendor &lt;info@venomvendor.com&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>am: fix broken email with --committer-date-is-author-date</title>
<updated>2020-10-23T15:25:19Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2020-10-23T07:09:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=16b0bb99eac5ebd02a5dcabdff2cfc390e9d92ef'/>
<id>urn:sha1:16b0bb99eac5ebd02a5dcabdff2cfc390e9d92ef</id>
<content type='text'>
Commit e8cbe2118a (am: stop exporting GIT_COMMITTER_DATE, 2020-08-17)
rewrote the code for setting the committer date to use fmt_ident(),
rather than setting an environment variable and letting commit_tree()
handle it. But it introduced two bugs:

  - we use the author email string instead of the committer email

  - when parsing the committer ident, we used the wrong variable to
    compute the length of the email, resulting in it always being a
    zero-length string

This commit fixes both, which causes our test of this option via the
rebase "apply" backend to now succeed.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t3436: check --committer-date-is-author-date result more carefully</title>
<updated>2020-10-23T15:25:17Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2020-10-23T07:08:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=56706dba33f5d4457395c651cf1cd033c6c03c7a'/>
<id>urn:sha1:56706dba33f5d4457395c651cf1cd033c6c03c7a</id>
<content type='text'>
After running "rebase --committer-date-is-author-date", we confirm that
the committer date is the same as the author date. However, we don't
look at any other parts of the committer ident line to make sure we
didn't screw them up. And indeed, there are a few bugs here. Depending
on the rebase backend in use, we may accidentally use the author email
instead of the committer's, or even an empty string.

Let's teach our test_ctime_is_atime helper to check the committer name
and email, which reveals several failing tests.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/default-branch-name-part-3'</title>
<updated>2020-10-09T04:53:26Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-10-09T04:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=62564ba4e5191aeb849266e8a1bb2845eb257baf'/>
<id>urn:sha1:62564ba4e5191aeb849266e8a1bb2845eb257baf</id>
<content type='text'>
Test preparation for the switch of default branch name continues.

* js/default-branch-name-part-3:
  tests: avoid using the branch name `main`
  t1415: avoid using `main` as ref name
</content>
</entry>
<entry>
<title>Merge branch 'jk/index-pack-hotfixes'</title>
<updated>2020-10-09T04:53:26Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-10-09T04:53:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c7ac8c0a7ccba76f082b9fd9c7e35b66209d8bf3'/>
<id>urn:sha1:c7ac8c0a7ccba76f082b9fd9c7e35b66209d8bf3</id>
<content type='text'>
Hotfix and clean-up for the jt/threaded-index-pack topic that has
graduated to v2.29-rc0.

* jk/index-pack-hotfixes:
  index-pack: make get_base_data() comment clearer
  index-pack: drop type_cas mutex
  index-pack: restore "resolving deltas" progress meter
</content>
</entry>
<entry>
<title>Merge branch 'hx/push-atomic-with-cert'</title>
<updated>2020-10-09T04:53:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-10-09T04:53:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f491ce954b4b317b70705b1670f233f16ea36e12'/>
<id>urn:sha1:f491ce954b4b317b70705b1670f233f16ea36e12</id>
<content type='text'>
Hotfix to a recently added test script.

* hx/push-atomic-with-cert:
  t5534: split stdout and stderr redirection
</content>
</entry>
<entry>
<title>tests: avoid using the branch name `main`</title>
<updated>2020-10-08T17:40:18Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-10-08T10:13:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=538228ed23a1d5e17e89bb17086d4dda51325bd8'/>
<id>urn:sha1:538228ed23a1d5e17e89bb17086d4dda51325bd8</id>
<content type='text'>
In the near future, we want to change Git's default branch name to
`main`. In preparation for that, stop using it as a branch name in the
test suite. Replace that branch name by `topic`, the same name we used
to rename variations of `master` in b6211b89eb3 (tests: avoid variations
of the `master` branch name, 2020-09-26).

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t1415: avoid using `main` as ref name</title>
<updated>2020-10-08T17:40:16Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-10-08T10:13:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a15ad5d1bc23f3a6842360df5ee840b1dc3e4888'/>
<id>urn:sha1:a15ad5d1bc23f3a6842360df5ee840b1dc3e4888</id>
<content type='text'>
In preparation for a patch series that will change the fall-back for
`init.defaultBranch` to `main`, let's not use `main` as ref name in this
test script.

Otherwise, the `git for-each-ref ... | grep main` which wants to catch
those refs would also unexpectedly catch `refs/heads/main`.

Since the refs in question are worktree-local ones (i.e. each worktree
has their own, just like `HEAD`), and since the test case already uses a
secondary worktree called "second", let's use the name "first" for those
refs instead.

While at it, adjust the test titles that talk about a "repo" when they
meant a "worktree" instead.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>index-pack: restore "resolving deltas" progress meter</title>
<updated>2020-10-07T18:50:09Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2020-10-07T18:19:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cea69151a4d4c0861a6dd5006267141b04ebbadb'/>
<id>urn:sha1:cea69151a4d4c0861a6dd5006267141b04ebbadb</id>
<content type='text'>
Commit f08cbf60fe (index-pack: make quantum of work smaller, 2020-09-08)
refactored the main loop in threaded_second_pass(), but also deleted the
call to display_progress() at the top of the loop. This means that users
typically see no progress at all during the delta resolution phase (and
for large repositories, Git appears to hang).

This looks like an accident that was unrelated to the intended change of
that commit, since we continue to update nr_resolved_deltas in
resolve_delta(). Let's restore the call to get that progress back.

We'll also add a test that confirms we generate the expected progress.
This isn't perfect, as it wouldn't catch a bug where progress was
delayed to the end. That was probably possible to trigger when receiving
a thin pack, because we'd eventually call display_progress() from
fix_unresolved_deltas(), but only once after doing all the work.
However, since our test case generates a complete pack, it reliably
demonstrates this particular bug and its fix. And we can't do better
without making the test racy.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Acked-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
