<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/sequencer.c, branch v2.20.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.20.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.20.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2018-11-18T09:23:56Z</updated>
<entry>
<title>Merge branch 'js/rebase-r-and-merge-head'</title>
<updated>2018-11-18T09:23:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-18T09:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0de3a73eb6b36d5b8df82e62dd5679462f19edef'/>
<id>urn:sha1:0de3a73eb6b36d5b8df82e62dd5679462f19edef</id>
<content type='text'>
Bugfix for the recently graduated "git rebase --rebase-merges".

* js/rebase-r-and-merge-head:
  status: rebase and merge can be in progress at the same time
  built-in rebase --skip/--abort: clean up stale .git/&lt;name&gt; files
  rebase -i: include MERGE_HEAD into files to clean up
  rebase -r: do not write MERGE_HEAD unless needed
  rebase -r: demonstrate bug with conflicting merges
</content>
</entry>
<entry>
<title>Merge branch 'bp/refresh-index-using-preload'</title>
<updated>2018-11-13T13:37:26Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-13T13:37:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=11aa560de964e800aabce446d600ab0fb4c90c20'/>
<id>urn:sha1:11aa560de964e800aabce446d600ab0fb4c90c20</id>
<content type='text'>
The helper function to refresh the cached stat information in the
in-core index has learned to perform the lstat() part of the
operation in parallel on multi-core platforms.

* bp/refresh-index-using-preload:
  refresh_index: remove unnecessary calls to preload_index()
  speed up refresh_index() by utilizing preload_index()
</content>
</entry>
<entry>
<title>Merge branch 'ag/rebase-i-in-c'</title>
<updated>2018-11-13T13:37:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-13T13:37:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=409b3f287b63a4c911a6b3db6d31145a0fe981a1'/>
<id>urn:sha1:409b3f287b63a4c911a6b3db6d31145a0fe981a1</id>
<content type='text'>
Code clean-up for a topic already in 'master'.

* ag/rebase-i-in-c:
  sequencer.c: remove a stray semicolon
</content>
</entry>
<entry>
<title>Merge branch 'pw/am-rebase-read-author-script'</title>
<updated>2018-11-13T13:37:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-13T13:37:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6b2a52431b238fc3c25ea931def6e5b1cf9e78fb'/>
<id>urn:sha1:6b2a52431b238fc3c25ea931def6e5b1cf9e78fb</id>
<content type='text'>
Unify code to read the author-script used in "git am" and the
commands that use the sequencer machinery, e.g. "git rebase -i".

* pw/am-rebase-read-author-script:
  sequencer: use read_author_script()
  add read_author_script() to libgit
  am: rename read_author_script()
  am: improve author-script error reporting
  am: don't die in read_author_script()
</content>
</entry>
<entry>
<title>Merge branch 'ma/sequencer-do-reset-saner-loop-termination'</title>
<updated>2018-11-13T13:37:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-13T13:37:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=daa8282426c9b8bd28df9d8e471b5b643b826193'/>
<id>urn:sha1:daa8282426c9b8bd28df9d8e471b5b643b826193</id>
<content type='text'>
Code readability fix.

* ma/sequencer-do-reset-saner-loop-termination:
  sequencer: break out of loop explicitly
</content>
</entry>
<entry>
<title>rebase -i: include MERGE_HEAD into files to clean up</title>
<updated>2018-11-13T03:04:00Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2018-11-12T23:25:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=69c92209d2c4d33a25ed79a62a2170c0ff2059e8'/>
<id>urn:sha1:69c92209d2c4d33a25ed79a62a2170c0ff2059e8</id>
<content type='text'>
Every once in a while, the interactive rebase makes sure that no stale
files are lying around. These days, we need to include MERGE_HEAD into
that set of files, as the `merge` command will generate them.

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>rebase -r: do not write MERGE_HEAD unless needed</title>
<updated>2018-11-13T03:04:00Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2018-11-12T23:25:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=85f8d9da2182690461e05034a4a697f766bb8eb1'/>
<id>urn:sha1:85f8d9da2182690461e05034a4a697f766bb8eb1</id>
<content type='text'>
When we detect that a `merge` can be skipped because the merged commit
is already an ancestor of HEAD, we do not need to commit, therefore
writing the MERGE_HEAD file is useless.

It is actually worse than useless: a subsequent `git commit` will pick
it up and think that we want to merge that commit, still.

To avoid that, move the code that writes the MERGE_HEAD file to a
location where we already know that the `merge` cannot be skipped.

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>refresh_index: remove unnecessary calls to preload_index()</title>
<updated>2018-11-06T03:49:59Z</updated>
<author>
<name>Ben Peart</name>
<email>benpeart@microsoft.com</email>
</author>
<published>2018-11-05T19:27:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6c5b7f55a845bccf7b3abda92a78c621898d838d'/>
<id>urn:sha1:6c5b7f55a845bccf7b3abda92a78c621898d838d</id>
<content type='text'>
With refresh_index() learning to utilize preload_index() to speed up its
operation there is no longer any benefit to having the caller preload the
index first. Remove those unneeded calls by calling read_index() instead of
the preload variant.

There is no measurable performance impact of this patch - the 2nd call to
preload_index() bails out quickly but there is no reason to call it twice.

Signed-off-by: Ben Peart &lt;benpeart@microsoft.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>sequencer.c: remove a stray semicolon</title>
<updated>2018-11-05T01:24:55Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2018-11-03T14:32:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=29d51e214c6b9078abaac7597c21306ac0f4deb4'/>
<id>urn:sha1:29d51e214c6b9078abaac7597c21306ac0f4deb4</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/rebase-i-shortopt'</title>
<updated>2018-11-02T02:04:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-02T02:04:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=85fcf1cbb6eb2e8fb1512a5ffe834b6a07deb4cd'/>
<id>urn:sha1:85fcf1cbb6eb2e8fb1512a5ffe834b6a07deb4cd</id>
<content type='text'>
"git rebase -i" learned to take 'b' as the short form of 'break'
option in the todo list.

* js/rebase-i-shortopt:
  rebase -i: recognize short commands without arguments
</content>
</entry>
</feed>
