<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/sequencer.c, branch v2.30.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.30.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.30.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2020-11-21T23:14:38Z</updated>
<entry>
<title>Merge branch 'en/strmap'</title>
<updated>2020-11-21T23:14:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-11-21T23:14:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bf0a430f70b53f94454692c9ae8ddadd18891aaa'/>
<id>urn:sha1:bf0a430f70b53f94454692c9ae8ddadd18891aaa</id>
<content type='text'>
A specialization of hashmap that uses a string as key has been
introduced.  Hopefully it will see wider use over time.

* en/strmap:
  shortlog: use strset from strmap.h
  Use new HASHMAP_INIT macro to simplify hashmap initialization
  strmap: take advantage of FLEXPTR_ALLOC_STR when relevant
  strmap: enable allocations to come from a mem_pool
  strmap: add a strset sub-type
  strmap: split create_entry() out of strmap_put()
  strmap: add functions facilitating use as a string-&gt;int map
  strmap: enable faster clearing and reusing of strmaps
  strmap: add more utility functions
  strmap: new utility functions
  hashmap: provide deallocation function names
  hashmap: introduce a new hashmap_partial_clear()
  hashmap: allow re-use after hashmap_free()
  hashmap: adjust spacing to fix argument alignment
  hashmap: add usage documentation explaining hashmap_free[_entries]()
</content>
</entry>
<entry>
<title>Merge branch 'en/merge-ort-api-null-impl'</title>
<updated>2020-11-18T21:32:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-11-18T21:32:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a1f95951efc55c97477e32287b06e204553be5c2'/>
<id>urn:sha1:a1f95951efc55c97477e32287b06e204553be5c2</id>
<content type='text'>
Preparation for a new merge strategy.

* en/merge-ort-api-null-impl:
  merge,rebase,revert: select ort or recursive by config or environment
  fast-rebase: demonstrate merge-ort's API via new test-tool command
  merge-ort-wrappers: new convience wrappers to mimic the old merge API
  merge-ort: barebones API of new merge strategy with empty implementation
</content>
</entry>
<entry>
<title>Merge branch 'pw/rebase-i-orig-head'</title>
<updated>2020-11-18T21:32:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-11-18T21:32:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c042c455d4ffb9b5ed0c280301b5661f3efad572'/>
<id>urn:sha1:c042c455d4ffb9b5ed0c280301b5661f3efad572</id>
<content type='text'>
"git rebase -i" did not store ORIG_HEAD correctly.

* pw/rebase-i-orig-head:
  rebase -i: simplify get_revision_ranges()
  rebase -i: use struct object_id when writing state
  rebase -i: use struct object_id rather than looking up commit
  rebase -i: stop overwriting ORIG_HEAD buffer
</content>
</entry>
<entry>
<title>Merge branch 'jc/sequencer-stopped-sha-simplify'</title>
<updated>2020-11-11T21:18:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-11-11T21:18:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7b66375e6fbec4a813ed6c000f5c18fe53c1f824'/>
<id>urn:sha1:7b66375e6fbec4a813ed6c000f5c18fe53c1f824</id>
<content type='text'>
Recently the format of an internal state file "rebase -i" uses has
been tightened up for consistency, which would hurt those who start
"rebase -i" with old git and then continue with new git.  Loosen
the reader side a bit (which we may want to tighten again in a year
or so).

* jc/sequencer-stopped-sha-simplify:
  sequencer: tolerate abbreviated stopped-sha file
</content>
</entry>
<entry>
<title>Merge branch 'jk/committer-date-is-author-date-fix-simplify'</title>
<updated>2020-11-09T22:06:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-11-09T22:06:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6a44c9c0d05839d6402c84a80acd0c2525f3a85e'/>
<id>urn:sha1:6a44c9c0d05839d6402c84a80acd0c2525f3a85e</id>
<content type='text'>
Code simplification.

* jk/committer-date-is-author-date-fix-simplify:
  am, sequencer: stop parsing our own committer ident
</content>
</entry>
<entry>
<title>rebase -i: use struct object_id when writing state</title>
<updated>2020-11-04T22:10:41Z</updated>
<author>
<name>Phillip Wood</name>
<email>phillip.wood@dunelm.org.uk</email>
</author>
<published>2020-11-04T15:29:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a2bb10d06db8a90920f1f518705a0bb9d39aa1db'/>
<id>urn:sha1:a2bb10d06db8a90920f1f518705a0bb9d39aa1db</id>
<content type='text'>
Rather than passing a string around pass the struct object_id that the
string was created from call oid_hex() when we write the file.

Signed-off-by: Phillip Wood &lt;phillip.wood@dunelm.org.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase -i: use struct object_id rather than looking up commit</title>
<updated>2020-11-04T22:10:41Z</updated>
<author>
<name>Phillip Wood</name>
<email>phillip.wood@dunelm.org.uk</email>
</author>
<published>2020-11-04T15:29:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f3e27a02d598084a0ef5c8dd6b410bd6a5c5299f'/>
<id>urn:sha1:f3e27a02d598084a0ef5c8dd6b410bd6a5c5299f</id>
<content type='text'>
We already have a struct object_id containing the oid that we want to
set ORIG_HEAD to so use that rather than converting it to a string and
then calling get_oid() on that string.

Signed-off-by: Phillip Wood &lt;phillip.wood@dunelm.org.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>merge,rebase,revert: select ort or recursive by config or environment</title>
<updated>2020-11-03T00:35:50Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2020-11-02T23:45:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=14c4586c2dfa94d86d71a60481dd20bc5b56e562'/>
<id>urn:sha1:14c4586c2dfa94d86d71a60481dd20bc5b56e562</id>
<content type='text'>
Allow the testsuite to run where it treats requests for "recursive" or
the default merge algorithm via consulting the environment variable
GIT_TEST_MERGE_ALGORITHM which is expected to either be "recursive" (the
old traditional algorithm) or "ort" (the new algorithm).

Also, allow folks to pick the new algorithm via config setting.  It
turns out builtin/merge.c already had a way to allow users to specify a
different default merge algorithm: pull.twohead.  Rather odd
configuration name (especially to be in the 'pull' namespace rather than
'merge') but it's there.  Add that same configuration to rebase,
cherry-pick, and revert.

This required updating the various callsites that called merge_trees()
or merge_recursive() to conditionally call the new API, so this serves
as another demonstration of what the new API looks and feels like.
There are almost certainly some callsites that have not yet been
modified to work with the new merge algorithm, but this represents the
ones that I have been testing with thus far.

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 'en/sequencer-rollback-lock-cleanup'</title>
<updated>2020-11-02T21:17:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-11-02T21:17:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f3e63abb279dbd501459169b1156ea78765e3d3e'/>
<id>urn:sha1:f3e63abb279dbd501459169b1156ea78765e3d3e</id>
<content type='text'>
Code clean-up.

* en/sequencer-rollback-lock-cleanup:
  sequencer: remove duplicate rollback_lock_file() call
</content>
</entry>
<entry>
<title>Merge branch 'sc/sequencer-gpg-octopus'</title>
<updated>2020-11-02T21:17:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-11-02T21:17:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=73af6a4fab3fc570e234f5836dc1e59c3270a716'/>
<id>urn:sha1:73af6a4fab3fc570e234f5836dc1e59c3270a716</id>
<content type='text'>
"git rebase --rebase-merges" did not correctly pass --gpg-sign
command line option to underlying "git merge" when replaying a merge
using non-default merge strategy or when replaying an octopus merge
(because replaying a two-head merge with the default strategy was
done in a separate codepath, the problem did not trigger for most
users), which has been corrected.

* sc/sequencer-gpg-octopus:
  t3435: add tests for rebase -r GPG signing
  sequencer: pass explicit --no-gpg-sign to merge
  sequencer: fix gpg option passed to merge subcommand
</content>
</entry>
</feed>
