bash: support the --autosquash option for rebase