<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin, 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>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>Merge branch 'ja/misc-doc-fixes'</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=d620daaa34be578a67734c0daca4412d6d06f208'/>
<id>urn:sha1:d620daaa34be578a67734c0daca4412d6d06f208</id>
<content type='text'>
Doc fixes.

* ja/misc-doc-fixes:
  doc: fix the bnf like style of some commands
  doc: git-remote fix ups
  doc: use linkgit macro where needed.
  git-bisect-lk2009: make continuation of list indented
</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>doc: fix the bnf like style of some commands</title>
<updated>2020-10-08T21:01:19Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2020-10-08T20:23:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9f443f553171032d5ce004ae326ecb116a6ef4e5'/>
<id>urn:sha1:9f443f553171032d5ce004ae326ecb116a6ef4e5</id>
<content type='text'>
In command line options, variables are entered between &lt; and &gt;

Signed-off-by: Jean-Noël Avila &lt;jn.avila@free.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>index-pack: make get_base_data() comment clearer</title>
<updated>2020-10-07T20:32:27Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2020-10-07T20:16:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ec6a8f9705cb61956f7fac61a4c0e27d9ae4bbd5'/>
<id>urn:sha1:ec6a8f9705cb61956f7fac61a4c0e27d9ae4bbd5</id>
<content type='text'>
A comment mentions that we may free cached delta bases via
find_unresolved_deltas(), but that function went away in f08cbf60fe
(index-pack: make quantum of work smaller, 2020-09-08). Since we need to
rewrite that comment anyway, make the entire comment clearer.

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>index-pack: drop type_cas mutex</title>
<updated>2020-10-07T18:51:26Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2020-10-07T18:19:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bebe1719470078b000950b0cca520d3e533996a9'/>
<id>urn:sha1:bebe1719470078b000950b0cca520d3e533996a9</id>
<content type='text'>
The type_cas lock lost all of its callers in f08cbf60fe (index-pack:
make quantum of work smaller, 2020-09-08), so we can safely delete it.
The compiler didn't alert us that the variable became unused, because we
still call pthread_mutex_init() and pthread_mutex_destroy() on it.

It's worth considering also whether that commit was in error to remove
the use of the lock. Why don't we need it now, if we did before, as
described in ab791dd138 (index-pack: fix race condition with duplicate
bases, 2014-08-29)? I think the answer is that we now look at and assign
the child_obj-&gt;real_type field in the main thread while holding the
work_lock(). So we don't have to worry about racing with the worker
threads.

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>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>
<entry>
<title>Merge branch 'jk/format-auto-base-when-able'</title>
<updated>2020-10-05T21:01:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-10-05T21:01:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5f8c70a14836c730c78533e35401db8269a96aa2'/>
<id>urn:sha1:5f8c70a14836c730c78533e35401db8269a96aa2</id>
<content type='text'>
"git format-patch" learns to take "whenAble" as a possible value
for the format.useAutoBase configuration variable to become no-op
when the  automatically computed base does not make sense.

* jk/format-auto-base-when-able:
  format-patch: teach format.useAutoBase "whenAble" option
</content>
</entry>
<entry>
<title>Merge branch 'jk/refspecs-negative'</title>
<updated>2020-10-05T21:01:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-10-05T21:01:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8e3ec76a20d6abf5dd8ceb3f5f2c157000e4c13e'/>
<id>urn:sha1:8e3ec76a20d6abf5dd8ceb3f5f2c157000e4c13e</id>
<content type='text'>
"git fetch" and "git push" support negative refspecs.

* jk/refspecs-negative:
  refspec: add support for negative refspecs
</content>
</entry>
</feed>
