author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Tue, 3 Mar 2009 09:55:31 +0000 (10:55 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 3 Mar 2009 18:56:22 +0000 (10:56 -0800) | ||
commit | 0e757e30c726d9d8ae82bd9989be3cff5d230288 | |
tree | eb1e1a6de6052abbf6523893f0627aaeb1e6610f | tree | snapshot |
parent | 1d035f85649cbb0a4fcc3e341f7e854acf9cf3c1 | commit | diff |
rebase -i: avoid 'git reset' when possible
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 <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh | diff | blob | history | |
t/t3404-rebase-interactive.sh | diff | blob | history |