Why won't "git rebase -Xrenormalize -i $REBASE_SHA" do anything?
- From
- Josef Wolf <jw@raven.inka.de>
- Date
- Jan 31, 2022, 11:01 UTC
- Message-ID
- <20220131110149.GE16463@raven.inka.de>
Hello,
I've added "* text=auto" to an existing repo with a completely linear history.
Now, as expected, every rebase operation gives me lots of conflicts, which are hard to resolve.
So I'd like to clean up the history:
$ git rebase -Xrenormalize -i $REBASE_SHA
But this turns out to be a no-op? It says immediately
Successfully rebased and updated refs/heads/wip-normalize
without even the counter which is usually output to show progress during an interactive rebase as it is working through the rebase-todo. I can confirm that nothing has happened by checking the sha of the branch.
So, what am I missing? How would I renormalize all the commits of a branch? The branch has linear history, no merges there.
Thanks,
-- Josef Wolf jw@raven.inka.de