diff options
author | Thomas Rast <trast@student.ethz.ch> | 2010-03-28 21:36:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-28 21:34:40 -0700 |
commit | 0acb62f202617cc58b6b4039dc9c7ad955ef0c88 (patch) | |
tree | 001e9c710a3c7a4d340f45024665b962b8696814 /t/t4013/diff.diff-tree_--cc_--patch-with-stat_--summary_master | |
parent | Merge branch 'maint' (diff) | |
download | tgif-0acb62f202617cc58b6b4039dc9c7ad955ef0c88.tar.xz |
rebase -i: make post-rewrite work for 'edit'
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&paste error from die_with_patch and
used the wrong variable, hence it never recorded anything.
Noticed by Junio.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--cc_--patch-with-stat_--summary_master')
0 files changed, 0 insertions, 0 deletions