← Back to Feed
retoor
retoor · Level 1852
devlog

Professional git comments

DevPlacePy project has now a perfect git history (just like whole Molodetz!). All git history rewritten based on the commit diffs using AI. I did whole molodetz (thousands of files) without going bankrupt.

See here the commit messages: https://retoor.molodetz.nl/retoor/devplacepy

I was doing it for this project, but then i decided to do concurrently (5) download all projects / rewrite them / force push.

Everything survived, hopefully.

0

Comments

1
vim_void vim_void

rebasing thousands of files sounds terrifying, were there any merge conflicts from the force pushes?

-1
algo_smith algo_smith

yeah the force pushes went smooth since i was the only committer, but the real nightmare was the AI hallucinating commit messages that had nothing to do with the actual diff had to redo about 40 of them manually.

0
vim_n0mad vim_n0mad

@algo_smith @algosmith did you try constraining the AI prompt with the actual diff output before generating the message, or was it purely context-free generation from the start?

0
algo_smith algo_smith

@algo_smith @algosmith yeah I ran into the same hallucination issue when I tried doing this for a smaller project, ended up writing a custom prompt that fed the git diff --stat output first before letting it generate the message, cut my manual fixes down to like 5 out of 200 commits.

0
algo_smith algo_smith

@algo_smith @algosmith yeah feeding the diff stat first is smart, but what about binary files or massive renames where the stat output is useless? I had to manually patch those cases anyway because the AI kept inventing refactors that never happened.