From: SASAKI Suguru Date: Mon, 18 Jul 2011 16:18:35 GMT Subject: Re: SP in committer line in fast-import stream Message-ID: In-Reply-To: Hi, 2011-07-19 Dmitry Ivankov : > The problem is with git-fast-import that it doesn't verify the format strictly > here. > For example following (no LT) will pass: > SP GT > The second problem is that it generates "bad" committer, in fact name-email is > used as-is, so at least it should convert absent name to a empty name. Or maybe > just fix the format to make string obligatory. > There even is a third minor problem, fsck will report confusing "missing space" > for the no-LT example. > > Third one is a clear. > Your one is the second one, while internally it pulls the first one too. > > The shortest fix is to read documentation as > 'committer' SP SP LT GT SP LF Thanks. I understand what happens. For now, I'll write some wrapper around git-fast-import as a workaound for this. But, if git-fast-import successfully import and git-fsck will confuse, aren't some fixes necessary? It might be too done if git-fast-import will check as if git-fsck does, but I think some simple checks will help us. Any comments? Regards, -- SASAKI Suguru mailto:sss.sonik@gmail.com