From: Jonathan Nieder Date: Sat, 10 Mar 2012 09:18:12 GMT Subject: [PATCH 2/1] fixup! fast-import: allow 'ls' and filecopy to read the root Message-ID: <20120310091812.GG1992@burratino> In-Reply-To: <20120310085354.GE1992@burratino> Jonathan Nieder wrote: > --- a/fast-import.c > +++ b/fast-import.c > @@ -2369,6 +2382,7 @@ static void file_change_cr(struct branch *b, int rename) > leaf.tree); > return; > } > + > tree_content_set(&b->branch_tree, d, > leaf.versions[1].sha1, > leaf.versions[1].mode, Maybe next time I will send the patch to myself and bounce it to the list. Sorry for the noise. diff --git i/fast-import.c w/fast-import.c index 51cdda29..013cbd5e 100644 --- i/fast-import.c +++ w/fast-import.c @@ -2384,7 +2384,6 @@ static void file_change_cr(struct branch *b, int rename) leaf.tree); return; } - tree_content_set(&b->branch_tree, d, leaf.versions[1].sha1, leaf.versions[1].mode,