Skip 'bad date' check for some imports #92
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In general, we do not want malformed data on our servers. However, there are some corner cases where we do accept it. A bad date format in an old commit message is one such place. Again, in general, we won't accept pushes with bad dates. The correct fix is for the user to rewrite the offending commit(s) so that Git can parse all of the dates. Failing to do so will result in errors in many applications (including GitHub), so it's better to avoid pushing malformed data. However, some repos (particularly those that are migrating to GitHub) have deep history and a malformed bit of data far enough back that it is very unlikely to cause issues. In those cases, we do sometimes decide that that cost of a complete history rewrite isn't worth it, and we allow the import to proceed.
cc @dpmex4527 @ttaylorr @mhagger https://github.com/github/git-systems/issues/3882