Alessio Attilio posted a four-patch series, via GitGitGadget, titled "rebase: support --whitespace=fix with --interactive". It closes gitgitgadget/git#1472.

The cover letter explains the problem. The apply backend implements --whitespace=fix by passing it to git apply. That ties the option to the apply backend and prevents combining it with interactive rebases and other merge-backend features.

The series has three technical parts. An xdiff patch adds an optional line transformation to record preparation, so merge matching can compare whitespace-normalized lines while the original records are kept for output. A merge-ort patch, touching merge-ll.c and merge-ort.c, uses the path's whitespace rules to find and fix lines introduced by the replayed commit. Lines inherited from the other side are left alone, and files added by the commit are handled as having an empty base.

A rebase patch changes backend selection. It validates the whitespace action first, lets "fix" reach the merge and interactive backends, and keeps other whitespace actions on the apply backend. It also updates the documentation and the incompatibility tests.

A new test script, t3417-rebase-whitespace-fix.sh, covers interactive replay, attribute rules, existing whitespace in the base, added files and whitespace at end of file. It also checks that unsupported actions are still rejected with the merge backend.

The excerpts contain only the patches themselves, so there is no maintainer feedback to report yet.