Closed TinoDidriksen closed 1 year ago
If this is what created e.g. https://github.com/giellalt/lang-kal/commits/main_with_history_fixed then there are critical bugs:
Thanks for the feedback!
I used gitk to get an overview of the git log and such. The main history view shows the correct commit dates, so I thought everything was fine and dandy.
* Commit dates are lost. Looks like all commits are from when the script was run. * Commits have the runner as committer (with original committer as author).
Now that you mention it, I see that the committer and author info are different.
git filter-branch can be used to set committer name and date equal to the author ditto.
* Authors list is wrong. At least my name is, so probably others are.
I/We can fix the author info in svn2git-authors.txt, turn it into a git mailmap, and use git filter-repo --mailmap my-mailmap
to correct the info in the repo.
I'm on vacation now, but can have a look at this when I'm back.
Commands to clean up history can be found here: https://github.com/giellalt/giella-core/issues/20#issuecomment-1135506061
All the above issues have been solved with the commits pushed today
If this is what created e.g. https://github.com/giellalt/lang-kal/commits/main_with_history_fixed then there are critical bugs:
Commit dates are lost. Looks like all commits are from when the script was run.
Commits have the runner as committer (with original committer as author).
Authors list is wrong. At least my name is, so probably others are.