aboutsummaryrefslogtreecommitdiff
path: root/fast-import.c
diff options
context:
space:
mode:
authorDmitry Ivankov <divanorama@gmail.com>2011-08-11 16:21:06 +0600
committerJunio C Hamano <gitster@pobox.com>2011-08-11 12:20:56 -0700
commit4cedb78cb5eeb26d6dd47f866b51f061737616f2 (patch)
treebf8ec3084311a2aa86e27d6930f0eee2bba967ee /fast-import.c
parent0906f6e14e6e9df0c4ea4edb08ebe9f5d16c2391 (diff)
downloadgit-4cedb78cb5eeb26d6dd47f866b51f061737616f2.tar.gz
git-4cedb78cb5eeb26d6dd47f866b51f061737616f2.tar.xz
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 <sss.sonik@gmail.com> Signed-off-by: Dmitry Ivankov <divanorama@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fast-import.c')
0 files changed, 0 insertions, 0 deletions