<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/git-rebase--interactive.sh, branch v1.5.6.4</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.6.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.6.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2008-07-16T22:13:53Z</updated>
<entry>
<title>rebase-i: keep old parents when preserving merges</title>
<updated>2008-07-16T22:13:53Z</updated>
<author>
<name>Stephan Beyer</name>
<email>s-beyer@gmx.net</email>
</author>
<published>2008-07-16T01:51:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=1c5fa0a179a76f13a6970a281ad876cff44fd8ee'/>
<id>urn:sha1:1c5fa0a179a76f13a6970a281ad876cff44fd8ee</id>
<content type='text'>
When "rebase -i -p" tries to preserve merges of unrelated branches, it
lost some parents:

 - When you have more than two parents, the commit in the new history
   ends up with fewer than expected number of parents and this breakage
   goes unnoticed;

 - When you are rebasing a merge with two parents and one is lost, the
   command tries to cherry-pick the original merge commit, and the command
   fails.

Signed-off-by: Stephan Beyer &lt;s-beyer@gmx.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-rebase -i: mention the short command aliases in the todo list</title>
<updated>2008-06-08T20:46:37Z</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@frugalware.org</email>
</author>
<published>2008-06-07T16:20:19Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=88b1f0b8094638b1f9533393d1436d8c51fd07d5'/>
<id>urn:sha1:88b1f0b8094638b1f9533393d1436d8c51fd07d5</id>
<content type='text'>
git rebase -i already supports 'p', 'e' and 's' as aliases for 'pick',
'edit' and 'squash', but one could know it only by reading the source
code. If a user rebases a lot, it's quite handy, so mention these short
forms as well.

Signed-off-by: Miklos Vajna &lt;vmiklos@frugalware.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase --interactive: Compute upstream SHA1 before switching branches</title>
<updated>2008-06-03T03:36:14Z</updated>
<author>
<name>Johannes Sixt</name>
<email>johannes.sixt@telecom.at</email>
</author>
<published>2008-06-02T14:01:40Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=69e66f5500ef6079e3374a6654ef1f6df0c6f360'/>
<id>urn:sha1:69e66f5500ef6079e3374a6654ef1f6df0c6f360</id>
<content type='text'>
If the upstream argument to rebase (the first argument) was relative to
HEAD and the name of the branch to rebase (the second argument) was given,
the upstream would have been interpreted relative to the second argument.
In particular, this command

    git rebase -i HEAD topic

would always finish with "Nothing to do". (a1bf91e fixed the same issue
for non-interactive rebase.)

Signed-off-by: Johannes Sixt &lt;johannes.sixt@telecom.at&gt;
Acked-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Ignore dirty submodule states during rebase and stash</title>
<updated>2008-05-15T23:12:43Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2008-05-14T17:03:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=6848d58c60b7af365ce54cf3e3b274a2f9da2e7e'/>
<id>urn:sha1:6848d58c60b7af365ce54cf3e3b274a2f9da2e7e</id>
<content type='text'>
When rebasing or stashing, chances are that you do not care about
dirty submodules, since they are not updated by those actions anyway.
So ignore the submodules' states.

Note: the submodule states -- as committed in the superproject --
will still be stashed and rebased, it is _just_ the state of the
submodule in the working tree which is ignored.

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>remove use of "tail -n 1" and "tail -1"</title>
<updated>2008-03-13T07:57:52Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2008-03-12T21:34:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b4ce54fc61e7c76e2d7f47c34733f0f0bbb6c4cd'/>
<id>urn:sha1:b4ce54fc61e7c76e2d7f47c34733f0f0bbb6c4cd</id>
<content type='text'>
The "-n" syntax is not supported by System V versions of
tail (which prefer "tail -1"). Unfortunately "tail -1" is
not actually POSIX.  We had some of both forms in our
scripts.

Since neither form works everywhere, this patch replaces
both with the equivalent sed invocation:

  sed -ne '$p'

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>grep portability fix: don't use "-e" or "-q"</title>
<updated>2008-03-13T07:57:52Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2008-03-12T21:32:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=aadbe44f883859536c5320e0ac1d6ed122c45671'/>
<id>urn:sha1:aadbe44f883859536c5320e0ac1d6ed122c45671</id>
<content type='text'>
System V versions of grep (such as Solaris /usr/bin/grep)
don't understand either of these options. git's usage of
"grep -e pattern" fell into one of two categories:

 1. equivalent to "grep pattern". -e is only useful here if
    the pattern begins with a "-", but all of the patterns
    are hardcoded and do not begin with a dash.

 2. stripping comments and blank lines with

      grep -v -e "^$" -e "^#"

    We can fortunately do this in the affirmative as

      grep '^[^#]'

Uses of "-q" can be replaced with redirection to /dev/null.
In many tests, however, "grep -q" is used as "if this string
is in the expected output, we are OK". In this case, it is
fine to just remove the "-q" entirely; it simply makes the
"verbose" mode of the test slightly more verbose.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Prompt to continue when editing during rebase --interactive</title>
<updated>2008-02-27T19:23:22Z</updated>
<author>
<name>Jonathan del Strother</name>
<email>maillist@steelskies.com</email>
</author>
<published>2008-02-27T12:50:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0460fb449b18cd95805c1bf97013957ee9b8ff9b'/>
<id>urn:sha1:0460fb449b18cd95805c1bf97013957ee9b8ff9b</id>
<content type='text'>
On hitting an edit point in an interactive rebase, git should prompt
the user to run "git rebase --continue"

Signed-off-by: Jonathan del Strother &lt;jon.delStrother@bestbefore.tv&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase -i: accept -m as advertised in the man page</title>
<updated>2008-02-11T20:18:53Z</updated>
<author>
<name>Uwe Kleine-K,Av(Bnig</name>
<email>Uwe.Kleine-Koenig@digi.com</email>
</author>
<published>2008-02-11T13:45:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=65ae89bc315753e7bb31e941e77e002003665bc0'/>
<id>urn:sha1:65ae89bc315753e7bb31e941e77e002003665bc0</id>
<content type='text'>
Signed-off-by: Uwe Kleine-K,Av(Bnig &lt;Uwe.Kleine-Koenig@digi.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Squelch bogus progress output from git-rebase--interactive</title>
<updated>2008-01-15T04:04:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-01-15T04:01:21Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=4e6738778b30a5063579ad4b4ba34e12547f0e7c'/>
<id>urn:sha1:4e6738778b30a5063579ad4b4ba34e12547f0e7c</id>
<content type='text'>
The command repeats "Rebasing (1/1)" many times even when
there is only one task remaining, because mark_action_done() is
called to skip comment and empty lines in the TODO file.

This should fix it.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-rebase -i: clean-up error check codepath.</title>
<updated>2007-12-30T20:51:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2007-12-30T20:51:42Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=ab11903225270be7001b8c92f6ac4e165eaf4ecf'/>
<id>urn:sha1:ab11903225270be7001b8c92f6ac4e165eaf4ecf</id>
<content type='text'>
After replaying a single change, the code performed a number of checks,
but some of them were for sanity checking, failures from which should
make the command abort, and others were checks to see if it should make
a new commit object.  Stringing them together with "&amp;&amp;" was wrong.

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