[Olsr-dev] Possible to fix errors in git repo?

Aaron Daubman (spam-protected)
Thu Jun 9 19:20:36 CEST 2011


Greetings,

I'm working with olsrd and am using the git source repo. While a clone
works perfectly fine, I'm worried about future issues that the errors
in the current repo may cause:

% git fsck
error in commit 416bcb98541f2b67a2a3abed5332a2b2cecb79a8: invalid
author/committer line - missing space before email
error in commit 693bbb3be4d43ac4dc928b83a952b007033fbe5c: invalid
author/committer line - missing space before email
error in commit ced1a09de6276b2bb8067a2e07a6ff2b7c75f3fa: invalid
author/committer line - bad date
error in commit d2b500aecf6da7dac8af1a13e52ccd623a1c9c67: invalid
author/committer line - missing space before email
error in commit e2446767975ee66658122e1fc437158ebec7693a: invalid
author/committer line - missing space before email


e.g.
git show ced1a09de6276b2bb8067a2e07a6ff2b7c75f3fa
commit ced1a09de6276b2bb8067a2e07a6ff2b7c75f3fa
Author: Markus Kittenberger <(spam-protected)>
Date:   Thu Jan 1 00:00:00 1970 +0000

...as you can see the bad date error is caused by a commit date set == epoch.

I am a git newb, but I think the only way to fix these would be to
re-write the history for the repo (removing these error'd commits).

My current use-case is to clone olsrd, push it to a local git repo,
make some local changes, commit those to local repo, and then pull in
updates from the olsr.org git repo. Currently, this is being made
difficult by these errors.

Thanks,
     Aaron




More information about the Olsr-dev mailing list