pkgsrc-WIP-discuss archive

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

Re: mk/git-package.mk and "--depth 1"



>   Index: mk/git-package.mk
>   ===================================================================
>   RCS file: /cvsroot/pkgsrc-wip/wip/mk/git-package.mk,v
>   retrieving revision 1.2
>   diff -u -r1.2 git-package.mk
>   --- mk/git-package.mk   3 Mar 2010 05:06:26 -0000       1.2
>   +++ mk/git-package.mk   7 Mar 2010 12:49:58 -0000
>   @@ -55,7 +55,7 @@

>    _GIT_CMD=              git
>    _GIT_ENV=              # empty
>   -_GIT_FLAGS=            --quiet --depth 1
>   +_GIT_FLAGS=            --quiet
>    _GIT_PKGVERSION_CMD=   ${DATE} -u +'%Y.%m.%d'
>    _GIT_PKGVERSION=       ${_GIT_PKGVERSION_CMD:sh}

> I am not a git black belt, but I believe '--depth 1' is intended to
> avoid copying lots of unnecessary stuff.  So I wonder if it's a bug in
> git that some packages flame out, and if there should be some specific
> workaround for them instead of always fetching everything.

freedesktop.org people recommend me to use git:// repository instead of http://.
This solves the problem. Thanks for your reply.

-- 
Best regards, Aleksey Cheusov.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index