Re: fast-import should fail on invalid unsupported paths

2019-03-18 Thread Jeff King
On Mon, Mar 18, 2019 at 06:28:16PM +0100, Björn Kautler wrote: > I think fast-import should refuse to import paths Git cannot handle > properly later on, so that the migration fails early and the frontend > that generates the fast-import stream can be fixed / configured to not > include such inval

fast-import should fail on invalid unsupported paths

2019-03-18 Thread Björn Kautler
Hi, with this simple recipe, you get a non-usable repository: mkdir foo cd foo git init --bare repo cd repo git fast-import <<"EOM" commit refs/heads/master committer 0 + data 3 foo M 644 inline foo/.git/bar data 3 baz EOM cd .. git clone repo worktree This actually happened when a user tri