<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-rebase--interactive.sh, branch v1.7.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.7.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2010-07-06T06:23:37Z</updated>
<entry>
<title>rebase-i: do not get fooled by a log message ending with backslash</title>
<updated>2010-07-06T06:23:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-07-06T06:08:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=57f2b6b25868e32a25181b2a345b5bab3e3ba78f'/>
<id>urn:sha1:57f2b6b25868e32a25181b2a345b5bab3e3ba78f</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase-i: style fix</title>
<updated>2010-07-06T06:22:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-07-06T05:16:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=41f556b947ef5a161aaa791a865242d9bd8e5610'/>
<id>urn:sha1:41f556b947ef5a161aaa791a865242d9bd8e5610</id>
<content type='text'>
Case arms should align with "case" and "esac".

Do not cat a file into a pipeline; just make the downstream command
read from the file.

Having a while statement as a downstream of a pipe is fine, but
the loop should begin on its own line.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase -i: Abort cleanly if new base cannot be checked out</title>
<updated>2010-06-11T16:01:51Z</updated>
<author>
<name>Ian Ward Comfort</name>
<email>icomfort@stanford.edu</email>
</author>
<published>2010-06-08T08:16:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b096374f4a2cec0403378c1e9b4fb5fe37b517f4'/>
<id>urn:sha1:b096374f4a2cec0403378c1e9b4fb5fe37b517f4</id>
<content type='text'>
Untracked content in the working tree may prevent rebase -i from checking out
the new base onto which it wants to replay commits, if the new base commit
includes files at those (now untracked) paths. Currently, rebase -i dies
uncleanly in this situation, updating ORIG_HEAD and leaving a useless
.git/rebase-merge directory, with which the user can do nothing useful except
rebase --abort. Make rebase -i abort the procedure itself instead, as
non-interactive rebase already does, and add a test for this behavior.

Signed-off-by: Ian Ward Comfort &lt;icomfort@stanford.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase-interactive: silence warning when no commits rewritten</title>
<updated>2010-04-18T18:41:53Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2010-04-18T12:01:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=77bc694907bdf517407cc6f79da8adf9a4879cea'/>
<id>urn:sha1:77bc694907bdf517407cc6f79da8adf9a4879cea</id>
<content type='text'>
If you do a "rebase -i" and don't change any commits,
nothing is rewritten, and we have no REWRITTEN_LIST. The
shell prints out an ugly message:

  $ GIT_EDITOR=true git rebase -i HEAD^
  /path/to/git-rebase--interactive: 1: cannot open
    /path/to/repo/.git/rebase-merge/rewritten-list: No such file
  Successfully rebased and updated refs/heads/master.

We can fix it by not running "notes copy" at all if nothing
was rewritten.

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>Merge branch 'mb/rebase-i-no-ff'</title>
<updated>2010-04-03T19:28:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-04-03T19:28:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9234b003726556e0d3d0ea8ade97dc9f7bd50a6e'/>
<id>urn:sha1:9234b003726556e0d3d0ea8ade97dc9f7bd50a6e</id>
<content type='text'>
* mb/rebase-i-no-ff:
  Teach rebase the --no-ff option.

Conflicts:
	git-rebase--interactive.sh
	t/t3404-rebase-interactive.sh
</content>
</entry>
<entry>
<title>Merge branch 'do/rebase-i-arbitrary'</title>
<updated>2010-04-03T19:28:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-04-03T19:28:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=df9930c129d4cfe4d39e5e4688a6a55a2bca0050'/>
<id>urn:sha1:df9930c129d4cfe4d39e5e4688a6a55a2bca0050</id>
<content type='text'>
* do/rebase-i-arbitrary:
  rebase--interactive: don't require what's rebased to be a branch

Conflicts:
	t/t3404-rebase-interactive.sh
</content>
</entry>
<entry>
<title>Merge branch 'cc/cherry-pick-ff'</title>
<updated>2010-03-29T04:52:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-03-29T04:52:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=99f5b0845ac53f9f6e845fe4401e68fcef154690'/>
<id>urn:sha1:99f5b0845ac53f9f6e845fe4401e68fcef154690</id>
<content type='text'>
* cc/cherry-pick-ff:
  revert: fix tiny memory leak in cherry-pick --ff
  rebase -i: use new --ff cherry-pick option
  Documentation: describe new cherry-pick --ff option
  cherry-pick: add tests for new --ff option
  revert: add --ff option to allow fast forward when cherry-picking
  builtin/merge: make checkout_fast_forward() non static
  parse-options: add parse_options_concat() to concat options
</content>
</entry>
<entry>
<title>rebase -i: make post-rewrite work for 'edit'</title>
<updated>2010-03-29T04:34:40Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2010-03-28T19:36:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0acb62f202617cc58b6b4039dc9c7ad955ef0c88'/>
<id>urn:sha1:0acb62f202617cc58b6b4039dc9c7ad955ef0c88</id>
<content type='text'>
The post-rewrite support, in the form of the call to
'record_in_rewritten', was hidden in the arm where we have to record a
new commit for the user.  This meant that it was never invoked in the
case where the user has already amended the commit by herself.

[The test is designed to exercise both arms of the 'if' in question.]

Furthermore, recording the stopped-sha (the SHA1 of the commit before
the editing) suffered from a cut&amp;paste error from die_with_patch and
used the wrong variable, hence it never recorded anything.

Noticed by Junio.

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>Merge branch 'tr/notes-display'</title>
<updated>2010-03-24T23:26:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-03-24T23:26:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a86ed83cce0fc0b9a9fe4e17ac1bf4f719028d20'/>
<id>urn:sha1:a86ed83cce0fc0b9a9fe4e17ac1bf4f719028d20</id>
<content type='text'>
* tr/notes-display:
  git-notes(1): add a section about the meaning of history
  notes: track whether notes_trees were changed at all
  notes: add shorthand --ref to override GIT_NOTES_REF
  commit --amend: copy notes to the new commit
  rebase: support automatic notes copying
  notes: implement helpers needed for note copying during rewrite
  notes: implement 'git notes copy --stdin'
  rebase -i: invoke post-rewrite hook
  rebase: invoke post-rewrite hook
  commit --amend: invoke post-rewrite hook
  Documentation: document post-rewrite hook
  Support showing notes from more than one notes tree
  test-lib: unset GIT_NOTES_REF to stop it from influencing tests

Conflicts:
	git-am.sh
	refs.c
</content>
</entry>
<entry>
<title>Teach rebase the --no-ff option.</title>
<updated>2010-03-24T21:42:57Z</updated>
<author>
<name>Marc Branchaud</name>
<email>marcnarc@xiplink.com</email>
</author>
<published>2010-03-24T20:34:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b499549401cb2b1f6c30d09681380fd519938eb0'/>
<id>urn:sha1:b499549401cb2b1f6c30d09681380fd519938eb0</id>
<content type='text'>
For git-rebase.sh, --no-ff is a synonym for --force-rebase.

For git-rebase--interactive.sh, --no-ff cherry-picks all the commits in
the rebased branch, instead of fast-forwarding over any unchanged commits.

--no-ff offers an alternative way to deal with reverted merges.  Instead of
"reverting the revert" you can use "rebase --no-ff" to recreate the branch
with entirely new commits (they're new because at the very least the
committer time is different).  This obviates the need to revert the
reversion, as you can re-merge the new topic branch directly.  Added an
addendum to revert-a-faulty-merge.txt describing the situation and how to
use --no-ff to handle it.

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