On Thu, Feb 09, 2006 at 06:54:05PM +0100, Franck Bui-Huu wrote:
> 2006/2/9, Ralf Baechle <ralf@linux-mips.org>:
> > When cloning such a repository git isn't actually downloading the
> > .git/info/grafts file. This results in such errors. I don't know of a
> > way to get git to do this right. You may download the file manually
>
> you can't. It seems that graft thing is, for now, only used to change
> your _own_ repository's history. Fetching from a "cautorized"
> repository is a risky job and you might have bad results.
It works for me (TM).
> It's going to change with the "shallow-clone" thing, but I don't know
> when it will come out...
There are many problems with "cautorized" repositories, some with the
current implementation, some more fundamental ones. Such as what is
the cut-off criterium? The MIPS git repository also contains the objects
of Linus's tree [1]. So a tag like linux-2.6.15 as the line for truncation
isn't working too well because I'll only truncate the Linux/MIPS history
but that'll still leave all of Linus's tree - well over 130,000 objects -
in the tree.
Anyway, I'm trying to maintain a homebrew shallow variant of the tree
for the time being until git provides a better instrument for the job.
Ralf
[1] Not Linus's tags to avoid confusion. They could easily be pulled from
Linus tree into a separate branch. Similar for Marcelo's 2.4 tree.
|