<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/sequencer.c, branch v2.16.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.16.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.16.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-12-27T20:33:38Z</updated>
<entry>
<title>sequencer: do not invent whitespace when transforming OIDs</title>
<updated>2017-12-27T20:33:38Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-12-22T23:56:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c7b4d79c7dd1a20feb88c2e2ed1fd86bd2ea0570'/>
<id>urn:sha1:c7b4d79c7dd1a20feb88c2e2ed1fd86bd2ea0570</id>
<content type='text'>
For commands that do not have an argument, there is no need to append a
trailing space at the end of the line.

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: report when noop has an argument</title>
<updated>2017-12-27T20:33:38Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-12-22T23:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=66afa24fb36f15c49aed76be2f04bd23dd0e55c8'/>
<id>urn:sha1:66afa24fb36f15c49aed76be2f04bd23dd0e55c8</id>
<content type='text'>
The noop command cannot accept any argument, but we never told the user
about any bogus argument. Fix that.

while at it, mention clearly when an argument is required but missing
(for commands *other* than noop).

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: remove superfluous conditional</title>
<updated>2017-12-27T20:33:38Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-12-22T23:55:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5f8f927710a039ce3068ac55ca87354477a199b9'/>
<id>urn:sha1:5f8f927710a039ce3068ac55ca87354477a199b9</id>
<content type='text'>
In a conditional block that is only reached when handling a TODO_REWORD
(as seen even from a 3-line context), there is absolutely no need to
nest another block under the identical condition.

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: strip bogus LF at end of error messages</title>
<updated>2017-12-27T20:33:38Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-12-22T23:55:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aee42e1f35ac85ef25ba81eb28e72d002f0649db'/>
<id>urn:sha1:aee42e1f35ac85ef25ba81eb28e72d002f0649db</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>Merge branch 'lb/rebase-i-short-command-names'</title>
<updated>2017-12-27T19:16:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-27T19:16:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0da2ba4880f971de2782f2d4cfcd68f9148d2860'/>
<id>urn:sha1:0da2ba4880f971de2782f2d4cfcd68f9148d2860</id>
<content type='text'>
With a configuration variable rebase.abbreviateCommands set,
"git rebase -i" produces the todo list with a single-letter
command names.

* lb/rebase-i-short-command-names:
  sequencer.c: drop 'const' from function return type
  t3404: add test case for abbreviated commands
  rebase -i: learn to abbreviate command names
  rebase -i -x: add exec commands via the rebase--helper
  rebase -i: update functions to use a flags parameter
  rebase -i: replace reference to sha1 with oid
  rebase -i: refactor transform_todo_ids
  rebase -i: set commit to null in exec commands
  Documentation: use preferred name for the 'todo list' script
  Documentation: move rebase.* configs to new file
</content>
</entry>
<entry>
<title>sequencer.c: drop 'const' from function return type</title>
<updated>2017-12-27T19:12:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-27T19:12:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ee5462d6e71aad04628ccb8f078784468bfa4139'/>
<id>urn:sha1:ee5462d6e71aad04628ccb8f078784468bfa4139</id>
<content type='text'>
With -Werror=ignored-qualifiers, a function that claims to return
"const char" gets this error:

    CC sequencer.o
sequencer.c:798:19: error: type qualifiers ignored on function return
type [-Werror=ignored-qualifiers]
 static const char command_to_char(const enum todo_command command)
                   ^

Reported-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 'en/rename-progress'</title>
<updated>2017-12-19T19:33:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-19T19:33:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=646685460c26d56b149da91544e76150119d9c9b'/>
<id>urn:sha1:646685460c26d56b149da91544e76150119d9c9b</id>
<content type='text'>
Historically, the diff machinery for rename detection had a
hardcoded limit of 32k paths; this is being lifted to allow users
trade cycles with a (possibly) easier to read result.

* en/rename-progress:
  diffcore-rename: make diff-tree -l0 mean -l&lt;large&gt;
  sequencer: show rename progress during cherry picks
  diff: remove silent clamp of renameLimit
  progress: fix progress meters when dealing with lots of work
  sequencer: warn when internal merge may be suboptimal due to renameLimit
</content>
</entry>
<entry>
<title>Merge branch 'bc/hash-algo'</title>
<updated>2017-12-13T21:28:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-13T21:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=721cc4314cb593e799213ad5f926a1e9fc5779b0'/>
<id>urn:sha1:721cc4314cb593e799213ad5f926a1e9fc5779b0</id>
<content type='text'>
An infrastructure to define what hash function is used in Git is
introduced, and an effort to plumb that throughout various
codepaths has been started.

* bc/hash-algo:
  repository: fix a sparse 'using integer as NULL pointer' warning
  Switch empty tree and blob lookups to use hash abstraction
  Integrate hash algorithm support with repo setup
  Add structure representing hash algorithm
  setup: expose enumerated repo info
</content>
</entry>
<entry>
<title>rebase -i: learn to abbreviate command names</title>
<updated>2017-12-05T18:20:51Z</updated>
<author>
<name>Liam Beguin</name>
<email>liambeguin@gmail.com</email>
</author>
<published>2017-12-05T17:52:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d8ae6c84da52a210e84b3734bb93c575638236d3'/>
<id>urn:sha1:d8ae6c84da52a210e84b3734bb93c575638236d3</id>
<content type='text'>
`git rebase -i` already know how to interpret single-letter command
names. Teach it to generate the todo list with these same abbreviated
names.

Based-on-patch-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Liam Beguin &lt;liambeguin@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase -i -x: add exec commands via the rebase--helper</title>
<updated>2017-12-05T18:20:51Z</updated>
<author>
<name>Liam Beguin</name>
<email>liambeguin@gmail.com</email>
</author>
<published>2017-12-05T17:52:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0cce4a2756eb2c66544615e5ccd74671afb33256'/>
<id>urn:sha1:0cce4a2756eb2c66544615e5ccd74671afb33256</id>
<content type='text'>
Recent work on `git-rebase--interactive` aims to convert shell code to
C. Even if this is most likely not a big performance enhancement, let's
convert it too since a coming change to abbreviate command names
requires it to be updated.

Signed-off-by: Liam Beguin &lt;liambeguin@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
