<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-rebase.sh, branch v2.0.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.0.0</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.0.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-04-21T17:42:46Z</updated>
<entry>
<title>Merge branch 'km/avoid-non-function-return-in-rebase'</title>
<updated>2014-04-21T17:42:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-21T17:42:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0b17b4331087224883878e49342037bf69717b62'/>
<id>urn:sha1:0b17b4331087224883878e49342037bf69717b62</id>
<content type='text'>
Work around /bin/sh that does not like "return" at the top-level
of a file that is dot-sourced from inside a function definition.

* km/avoid-non-function-return-in-rebase:
  Revert "rebase: fix run_specific_rebase's use of "return" on FreeBSD"
  rebase: avoid non-function use of "return" on FreeBSD
</content>
</entry>
<entry>
<title>Revert "rebase: fix run_specific_rebase's use of "return" on FreeBSD"</title>
<updated>2014-04-17T17:15:27Z</updated>
<author>
<name>Kyle J. McKay</name>
<email>mackyle@gmail.com</email>
</author>
<published>2014-04-11T08:28:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8cd65967fe0084574fcee278a5f9ff3d14047c4f'/>
<id>urn:sha1:8cd65967fe0084574fcee278a5f9ff3d14047c4f</id>
<content type='text'>
This reverts commit 99855ddf4bd319cd06a0524e755ab1c1b7d39f3b.

The workaround 99855ddf introduced to deal with problematic
"return" statements in scripts run by "dot" commands located
inside functions only handles one part of the problem.  The
issue has now been addressed by not using "return" statements
in this way in the git-rebase--*.sh scripts.

This workaround is therefore no longer necessary, so clean
up the code by reverting it.

Signed-off-by: Kyle J. McKay &lt;mackyle@gmail.com&gt;
Acked-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bg/rebase-off-of-previous-branch'</title>
<updated>2014-03-28T20:51:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-28T20:51:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=97345145ff33286af6c14260432f5edfb56fdc82'/>
<id>urn:sha1:97345145ff33286af6c14260432f5edfb56fdc82</id>
<content type='text'>
* bg/rebase-off-of-previous-branch:
  rebase: allow "-" short-hand for the previous branch
</content>
</entry>
<entry>
<title>rebase: allow "-" short-hand for the previous branch</title>
<updated>2014-03-19T17:52:51Z</updated>
<author>
<name>Brian Gesiak</name>
<email>modocache@gmail.com</email>
</author>
<published>2014-03-19T11:02:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4f4074077fb0c3a2facc61b333337d024aeeebbf'/>
<id>urn:sha1:4f4074077fb0c3a2facc61b333337d024aeeebbf</id>
<content type='text'>
Teach rebase the same shorthand as checkout and merge to name the
branch to rebase the current branch on; that is, that "-" means "the
branch we were previously on".

Requested-by: Tim Chase &lt;git@tim.thechases.com&gt;
Signed-off-by: Brian Gesiak &lt;modocache@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase: add the --gpg-sign option</title>
<updated>2014-02-11T22:48:20Z</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@mars-attacks.org</email>
</author>
<published>2014-02-10T01:03:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3ee5e54038fd32ee60b24ebd385981aeb14b80a5'/>
<id>urn:sha1:3ee5e54038fd32ee60b24ebd385981aeb14b80a5</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>rebase: parse options in stuck-long mode</title>
<updated>2014-02-11T22:48:05Z</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@mars-attacks.org</email>
</author>
<published>2014-02-10T01:03:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b6e9e73e8af20c2301595d58087ad58a9df05725'/>
<id>urn:sha1:b6e9e73e8af20c2301595d58087ad58a9df05725</id>
<content type='text'>
There is no functional change. The reason for this change is to be able
to add a new option taking an optional argument.

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>rebase: don't try to match -M option</title>
<updated>2014-02-03T20:13:55Z</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@mars-attacks.org</email>
</author>
<published>2014-02-01T02:18:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e4a4e7f27ad5d7a8534608b9a4d2d19ee6238925'/>
<id>urn:sha1:e4a4e7f27ad5d7a8534608b9a4d2d19ee6238925</id>
<content type='text'>
The -M option does not exist in OPTIONS_SPEC, so there is no use to try
to find it.

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>rebase: remove useless arguments check</title>
<updated>2014-02-03T20:13:44Z</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@mars-attacks.org</email>
</author>
<published>2014-02-01T02:18:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2f9dc1fb529662e157c53c7d91e5f75e0f72c6ea'/>
<id>urn:sha1:2f9dc1fb529662e157c53c7d91e5f75e0f72c6ea</id>
<content type='text'>
Remove a check on the number of arguments for --onto and -x options.
It is not possible for $# to be &lt;= 2 at this point :

 - if --onto or -x has an argument, git rev-parse --parseopt will
   provide something like this :
     set -- --onto 'x' --
   when parsing the "--onto" option, $# will be 3 or more if there are
   other options.

 - if --onto or -x doesn't have an argument, git rev-parse --parseopt
   will exit with an error and display usage information.

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>git-sh-setup.sh: add variable to use the stuck-long mode</title>
<updated>2014-02-03T20:11:10Z</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@mars-attacks.org</email>
</author>
<published>2014-02-01T02:17:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=51ba8ce372ad9fcab04a013252b819625c44770a'/>
<id>urn:sha1:51ba8ce372ad9fcab04a013252b819625c44770a</id>
<content type='text'>
If the variable $OPTIONS_STUCKLONG is not empty, then rev-parse
option parsing is done in --stuck-long mode.

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>rebase: fix fork-point with zero arguments</title>
<updated>2014-01-09T23:05:26Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-01-09T19:47:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bb3f45838b859c8b17a53a24579a304333868cc8'/>
<id>urn:sha1:bb3f45838b859c8b17a53a24579a304333868cc8</id>
<content type='text'>
When no arguments are specified, $switch_to is empty so we end up
passing the empty string to "git merge-base --fork-point", which causes
an error.  git-rebase carries on at this point, but in fact we have
failed to apply the fork-point operation.

It turns out that the test in t3400 that was meant to test this didn't
actually need the fork-point behaviour, so enhance it to make sure that
the fork-point is applied correctly.  The modified test fails without
the change to git-rebase.sh in this patch.

Reported-by: Andreas Krey &lt;a.krey@gmx.de&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
