tech-repository archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: is the proof in the pudding?



On Tue, Jul 29, 2008 at 02:24:25PM +0200, 
dsieger%techfak.uni-bielefeld.de@localhost wrote:
 > On Tue, Jul 29, 2008 at 04:39:49AM +0000, David Holland wrote:
 > [snip]
 > > git ... can't check out a tree without cloning the full history
 > 
 > It can. See git-clone's --depth option. Although a repo cloned that
 > way has a number of limitations I think it would do the job for people
 > not wanting a full history. From the manpage:
 > 
 > --depth <depth>
 >            Create a shallow clone with a history truncated to the
 >            specified number of revisions. A shallow repository has a
 >            number of limitations (you cannot clone or fetch from it,
 >            nor push from nor into it), but is adequate if you are only
 >            interested in the recent history of a large project with a
 >            long history, and would want to send in fixes as patches.

That won't do - the primary reason you want such trees is to be able
to keep /usr/src on machines without much disk space. In that case you
need to be able to pull.

(Or can you pull into it but not push into it?)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index