I have a git repository, which was cloned from bzr repository, using git -remote-bzr follows: git clone bzr::/repo new-repo. After several hundred commits, I executed git fsckand I got the following error for all bzr commits:
41bf5 commit error: invalid author / committer line - no space in front of email
When I check these changes with git cat-file -p 41bf5, I really see that the author name and email address are not separated by a space.
How can I add this missing space for all bad commits?
I have full access to the repo on the server, so I can rewrite history without any problems. After modifications, users of this code will have to put off the repository. I have already unsuccessfully tried the solutions suggested in the following posts:
source
share