git uuids 

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

Follow

git uuids 

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

git uuids 

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

Show thread

git uuids 

all this could be done with some git configs/git hooks magicery as a prototype so maybe i should legit try that

Show thread

git uuids 

apparently git includes global hooks? maybe i could just maek this a hook thing?

Show thread

git uuids 

oh it looks like i'd have to modify git's code. makes sense in a way

Show thread

git uuids 

but maybe trailers would work instead

Show thread

git uuids 

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

Show thread
Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!