<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-rebase--interactive.sh, branch v1.6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-03-03T18:56:22Z</updated>
<entry>
<title>rebase -i: avoid 'git reset' when possible</title>
<updated>2009-03-03T18:56:22Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2009-03-03T09:55:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0e757e30c726d9d8ae82bd9989be3cff5d230288'/>
<id>urn:sha1:0e757e30c726d9d8ae82bd9989be3cff5d230288</id>
<content type='text'>
When picking commits whose parents have not changed, we do not need to
rewrite the commit.  We do not need to reset the working directory to
the parent's state, either.

Requested by Sverre Rabbelier.

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 'js/maint-rebase-i-submodule'</title>
<updated>2009-02-01T02:07:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-02-01T02:07:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=29254142ddac335b33606c0036561f6df89f3d18'/>
<id>urn:sha1:29254142ddac335b33606c0036561f6df89f3d18</id>
<content type='text'>
* js/maint-rebase-i-submodule:
  Fix submodule squashing into unrelated commit
  rebase -i squashes submodule changes into unrelated commit
</content>
</entry>
<entry>
<title>Fix submodule squashing into unrelated commit</title>
<updated>2009-01-28T22:54:58Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2009-01-27T11:42:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=94c88edef7a69299e12248b910752f1fc26f12d6'/>
<id>urn:sha1:94c88edef7a69299e12248b910752f1fc26f12d6</id>
<content type='text'>
Actually, I think the issue is pretty independent of submodules; when
"git commit" gets an empty parameter, it misinterprets it as a file.

So avoid passing an empty parameter to "git commit".

Actually, this is a nice cleanup, as MSG_FILE and EDIT_COMMIT were mutually
exclusive; use one variable instead

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 -i: correctly remember --root flag across --continue</title>
<updated>2009-01-27T05:23:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-26T09:05:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a6c7a27691bd8b059d39c9bc71b19fb8e614fa54'/>
<id>urn:sha1:a6c7a27691bd8b059d39c9bc71b19fb8e614fa54</id>
<content type='text'>
d911d14 (rebase -i: learn to rebase root commit, 2009-01-02) tried to
remember the --root flag across a merge conflict in a broken way.
Introduce a flag file $DOTEST/rebase-root to fix and clarify.

While at it, also make sure $UPSTREAM is always initialized to guard
against existing values in the environment.

[tr: added tests]

Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase -i --root: fix check for number of arguments</title>
<updated>2009-01-26T06:06:50Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2009-01-25T23:32:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=277d7e91ae6afbe1b7aa7496320d43fd3f59f7ec'/>
<id>urn:sha1:277d7e91ae6afbe1b7aa7496320d43fd3f59f7ec</id>
<content type='text'>
If we are not rebasing with --root, then $# can only be either 1 (base)
or 2 (base and the name of the branch to be rebased).

If we are rebasing with --root, then it is Ok if $# is 0 (rebase the
current branch down to everything) or 1 (rebase the named branch down to
everything).

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Acked-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'tr/rebase-root'</title>
<updated>2009-01-18T07:06:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-18T07:06:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=90abc19b5ab53a49018a1beff0b3df260daa38e4'/>
<id>urn:sha1:90abc19b5ab53a49018a1beff0b3df260daa38e4</id>
<content type='text'>
* tr/rebase-root:
  rebase: update documentation for --root
  rebase -i: learn to rebase root commit
  rebase: learn to rebase root commit
  rebase -i: execute hook only after argument checking
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.6.0' into maint</title>
<updated>2009-01-13T08:40:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-13T08:40:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1cbe69f649fc45a3052e82c8e92e4a0f9eff67ed'/>
<id>urn:sha1:1cbe69f649fc45a3052e82c8e92e4a0f9eff67ed</id>
<content type='text'>
* maint-1.6.0:
  Avoid spurious error messages on error mistakes.
  contrib/examples/README: give an explanation of the status of these files
</content>
</entry>
<entry>
<title>Avoid spurious error messages on error mistakes.</title>
<updated>2009-01-13T08:21:31Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2009-01-12T23:09:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=12dd1112886f18730ee471420619e77783cd5943'/>
<id>urn:sha1:12dd1112886f18730ee471420619e77783cd5943</id>
<content type='text'>
Prior to that, if the user chose "squash" as a first action, the stderr
looked like:

    grep: /home/madcoder/dev/scm/git/.git/rebase-merge/done: No such file or directory
    Cannot 'squash' without a previous commit

Now the first line is gone.

Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase -i: learn to rebase root commit</title>
<updated>2009-01-12T07:04:45Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2009-01-02T22:28:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d911d1465d134cbd126e531a544f33b13f4e855a'/>
<id>urn:sha1:d911d1465d134cbd126e531a544f33b13f4e855a</id>
<content type='text'>
Teach git-rebase -i a new option --root, which instructs it to rebase
the entire history leading up to &lt;branch&gt;.  This is mainly for
symmetry with ordinary git-rebase; it cannot be used to edit the root
commit in-place (it requires --onto &lt;newbase&gt;).  Commits that already
exist in &lt;newbase&gt; are skipped.

In the normal mode of operation, this is fairly straightforward.  We
run cherry-pick in a loop, and cherry-pick has supported picking the
root commit since f95ebf7 (Allow cherry-picking root commits,
2008-07-04).

In --preserve-merges mode, we track the mapping from old to rewritten
commits and use it to update the parent list of each commit.  In this
case, we define 'rebase -i -p --root --onto $onto $branch' to rewrite
the parent list of all root commit(s) on $branch to contain $onto
instead.

Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase -i: execute hook only after argument checking</title>
<updated>2009-01-03T22:22:50Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2009-01-02T22:28:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d8fab0234d6db440a71f38f8538dbdefbbdfd077'/>
<id>urn:sha1:d8fab0234d6db440a71f38f8538dbdefbbdfd077</id>
<content type='text'>
Previously, the pre-rebase-hook would be launched before we knew if
the &lt;upstream&gt; [&lt;branch&gt;] arguments were supplied.

Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
