From: Dmitry Ivankov Date: Thu, 11 Aug 2011 10:21:06 +0000 (+0600) Subject: fast-import: add input format tests X-Git-Tag: v1.7.7-rc1~44^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4cedb78cb5eeb26d6dd47f866b51f061737616f2?hp=4cedb78cb5eeb26d6dd47f866b51f061737616f2 fast-import: add input format tests Documentation/git-fast-import.txt says that git-fast-import is strict about it's input format. But committer/author field parsing is a bit loose. Invalid values can be unnoticed and written out to the commit, either with format-conforming input or with non-format-conforming one. Add one passing and one failing test for empty/absent committer name with well-formed input. And a failed test with unnoticed ill-formed input. Reported-by: SASAKI Suguru Signed-off-by: Dmitry Ivankov Signed-off-by: Junio C Hamano ---