Due to option "--depth 1" some packages based on git-package.mk
fail to build like this
fatal: dumb http transport does not support --depth
Can I commit the following?
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.
Attachment:
pgpLRwn0E5InT.pgp
Description: PGP signature
------------------------------------------------------------------------------ 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