rebase: fix garbled progress display with '-x'