<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/sequencer.h, branch v2.13.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.13.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.13.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-01-09T22:57:29Z</updated>
<entry>
<title>sequencer (rebase -i): learn about the 'verbose' mode</title>
<updated>2017-01-09T22:57:29Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-01-02T15:26:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=556907f1e1057292e5cfc1f14e68167b43ff4761'/>
<id>urn:sha1:556907f1e1057292e5cfc1f14e68167b43ff4761</id>
<content type='text'>
When calling `git rebase -i -v`, the user wants to see some statistics
after the commits were rebased. Let's show some.

The strbuf we use to perform that task will be used for other things
in subsequent commits, hence it is declared and initialized in a wider
scope than strictly needed here.

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>sequencer: support a new action: 'interactive rebase'</title>
<updated>2017-01-09T22:57:29Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-01-02T15:26:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=845839575d37da825746816b24376c7799ef1105'/>
<id>urn:sha1:845839575d37da825746816b24376c7799ef1105</id>
<content type='text'>
This patch introduces a new action for the sequencer. It really does not
do a whole lot of its own right now, but lays the ground work for
patches to come. The intention, of course, is to finally make the
sequencer the work horse of the interactive rebase (the original idea
behind the "sequencer" concept).

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>sequencer: get rid of the subcommand field</title>
<updated>2016-10-21T16:32:34Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2016-10-21T12:24:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2863584f5cf98c5f768e24f4841e3df14cbea59a'/>
<id>urn:sha1:2863584f5cf98c5f768e24f4841e3df14cbea59a</id>
<content type='text'>
The subcommands are used exactly once, at the very beginning of
sequencer_pick_revisions(), to determine what to do. This is an
unnecessary level of indirection: we can simply call the correct
function to begin with. So let's do that.

While at it, ensure that the subcommands return an error code so that
they do not have to die() all over the place (bad practice for library
functions...).

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>sequencer: plug memory leaks for the option values</title>
<updated>2016-10-21T16:31:53Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2016-10-21T12:24:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=03a4e260e2bf4eebd7ea6658d24507fbf80f3ecd'/>
<id>urn:sha1:03a4e260e2bf4eebd7ea6658d24507fbf80f3ecd</id>
<content type='text'>
The sequencer is our attempt to lib-ify cherry-pick. Yet it behaves
like a one-shot command when it reads its configuration: memory is
allocated and released only when the command exits.

This is kind of okay for git-cherry-pick, which *is* a one-shot
command. All the work to make the sequencer its work horse was
done to allow using the functionality as a library function, though,
including proper clean-up after use.

To remedy that, take custody of the option values in question,
allocating and duping literal constants as needed and freeing them
at end.

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>sequencer: use memoized sequencer directory path</title>
<updated>2016-10-17T18:52:23Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2016-10-14T13:17:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8a2a0f534141cf6d2fa63fe3f84acbc4763c6754'/>
<id>urn:sha1:8a2a0f534141cf6d2fa63fe3f84acbc4763c6754</id>
<content type='text'>
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>sequencer: use static initializers for replay_opts</title>
<updated>2016-10-17T18:52:23Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2016-10-14T13:15:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ee624c0d3ff54e86a44cddf1d4ea6278b7a4f65c'/>
<id>urn:sha1:ee624c0d3ff54e86a44cddf1d4ea6278b7a4f65c</id>
<content type='text'>
This change is not completely faithful: instead of initializing all fields
to 0, we choose to initialize command and subcommand to -1 (instead of
defaulting to REPLAY_REVERT and REPLAY_NONE, respectively). Practically,
it makes no difference at all, but future-proofs the code to require
explicit assignments for both fields.

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>Merge branch 'jc/conflict-hint' into cc/interpret-trailers-more</title>
<updated>2014-11-10T17:56:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-11-10T17:56:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=216d29ef257e48f95bc14765d5da17e7854a3109'/>
<id>urn:sha1:216d29ef257e48f95bc14765d5da17e7854a3109</id>
<content type='text'>
* jc/conflict-hint:
  merge &amp; sequencer: turn "Conflicts:" hint into a comment
  builtin/commit.c: extract ignore_non_trailer() helper function
  merge &amp; sequencer: unify codepaths that write "Conflicts:" hint
  builtin/merge.c: drop a parameter that is never used
  git-tag.txt: Add a missing hyphen to `-s`
</content>
</entry>
<entry>
<title>merge &amp; sequencer: unify codepaths that write "Conflicts:" hint</title>
<updated>2014-10-24T18:34:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-24T18:34:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=75c961b767ec061696634c1079dbe5f1a9e10f93'/>
<id>urn:sha1:75c961b767ec061696634c1079dbe5f1a9e10f93</id>
<content type='text'>
Two identical loops in suggest_conflicts() in merge, and
do_recursive_merge() in sequencer, can use a single helper function
extracted from the latter that prepares the "Conflicts:" hint that
is meant to remind the user the paths for which merge conflicts had
to be resolved to write a better commit log message.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cherry-pick, revert: add the --gpg-sign option</title>
<updated>2014-01-27T23:15:52Z</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@mars-attacks.org</email>
</author>
<published>2014-01-24T00:50:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3253553e12d40da3bca818528f49a63c95f43aa3'/>
<id>urn:sha1:3253553e12d40da3bca818528f49a63c95f43aa3</id>
<content type='text'>
Signed-off-by: Nicolas Vigier &lt;boklm@mars-attacks.org&gt;
Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>sequencer.c: teach append_signoff how to detect duplicate s-o-b</title>
<updated>2013-02-12T19:17:10Z</updated>
<author>
<name>Brandon Casey</name>
<email>drafnel@gmail.com</email>
</author>
<published>2013-02-12T10:17:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bab4d1097c8be7d688a53b992232063dbf300fd4'/>
<id>urn:sha1:bab4d1097c8be7d688a53b992232063dbf300fd4</id>
<content type='text'>
Teach append_signoff how to detect a duplicate s-o-b in the commit footer.
This is in preparation to unify the append_signoff implementations in
log-tree.c and sequencer.c.

Fixes test in t3511.

Signed-off-by: Brandon Casey &lt;bcasey@nvidia.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
