Rustc-dev-guide: 3199 commits rewritten?

I was about to add a section to rustc-dev-guide, when I noticed something peculiar:

This branch is 2491 commits ahead of, 3199 commits behind rust-lang/rustc-dev-guide:master.

It's not just me, looking at other people's forks, you can see the same pattern, and doing some simple math we can see that all but 4 commits have been rewritten.

Looking back in the commit history we can verify this, all the commit descriptions are the same, but the hashes are different, and all the "verified" commits are no longer verified.

There's also the master-old branch, which seems to be a snapshot of the repo before the rewrite.

Comparing the first diverging commits, there doesn't seem to be any difference besides the fact that the old commits are signed.

Anyone know what's going on here?

3 Likes