Tried it in vain. I ran 'git show 79bXXXXXXXXXXXXXXXXXXXX' which displayed the committer's email. I added that email to https://gitlab.com/profile/emails. Then I tried 'git push gitlab master' again and see the same error message. What else could I try? I'm guessing GitLab somehow validates email of the author and/or committer for each commit. Some commits are from a different committer from myself.
On Thursday, March 12, 2015 at 7:41:34 AM UTC-7, Jeroen de Neef wrote: > > Try to add the email you are using to https://gitlab.com/profile/emails > > 2015-03-12 15:13 GMT+01:00 Qi Luk <qazwsxqaz...@gmail.com <javascript:>>: > >> I had a repository previously hosted on a private server which received >> commits authored by many committers. I want to host it on GitLab as a >> private repo. But when committing it, it complains about wrong email >> >> >> Total 8149 (delta 5423), reused 7486 (delta 4810) >> remote: error: object 79bXXXXXXXXXXXXXXXXXXXX:invalid author/committer >> line - bad email >> remote: fatal: Error in object >> error: unpack failed: index-pack abnormal exit >> To g...@gitlab.com:qi/myrepo.git >> ! [remote rejected] master -> master (unpacker error) >> error: failed to push some refs to 'g...@gitlab.com:qi/myrepo.git' >> >> The commit 79bXXXXXXXXXXXXXXXXXXXX is authored by a user with email >> different from that of the user registered at GitLab. Any idea how can I >> fix this? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "GitLab" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to gitlabhq+u...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/gitlabhq/03d3fa09-28b8-41bb-9fda-4e52108cb9e0%40googlegroups.com >> >> <https://groups.google.com/d/msgid/gitlabhq/03d3fa09-28b8-41bb-9fda-4e52108cb9e0%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/9b7704da-c103-49e1-abc0-8007766d6a64%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.