ugh the more i think about it the more the git uuids issue becomes solvable:
- add an optional header in git commits, Author-UUID and Comitter-UUID
- keep internal mapping of author names in git commits to UUUIDs based on last seen commit author
this would automatically solve the issue of interfacing with non-UUID aware gits as the author would still be there if the user's ok with that, and UUID-aware gits would automatically retroactively see old commits with new names
now if someone doesn't want their name to be in git history AT ALL, you'd have an out of band method of grabbing a mapping, such as a mutable ref from the origin like i did or a name lookup service
so theoretically you could get auto-updating names in git easily with a way to change name source if needed but at the expense of breaking compatibiltiy
all this could be done with some git configs/git hooks magicery as a prototype so maybe i should legit try that
apparently git includes global hooks? maybe i could just maek this a hook thing?
oh it looks like i'd have to modify git's code. makes sense in a way
so i guess the solution im proposing here is this:
- have a global mailmap
- manage it according to a Author-UUID and Committer-UUID field present on commits
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!