This patch fixes three issues with handling commits that end in a
backslash character ("\"), two of which had potential for silent data
"loss".
First, if you had two commits
abcde... Remove trailing \
01234... Another commit
then git rebase -i formatted this in your editor like so:
pick abcde Remove trailing pick 01234: Another commit
Assuming you don't spot this visually, git-rebase will then happily skip
over 01234 upon processing, removing that commit disappear from your HEAD
(!).
Secondly, when skipping over commits whose parents were unchanged, if any
of these commits ended in a backslash, it would try and ignore it.
Lastly, this patch fixes "edit"ing and "squash"ing of commits that end
in a backslash; git-rebase would previously blow up.
Signed-off-by: Chris Lamb <redacted>
---
git-rebase--interactive.sh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org
`-