pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
git-package.mk: Add support for dumb http: servers - GIT_DEEP_CLONE
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Fri Sep 30 00:43:42 2016 +0200
Changeset: acd40b90b3be0c964e50b9df196c7132fea853e4
Modified Files:
mk/git-package.mk
Log Message:
git-package.mk: Add support for dumb http: servers - GIT_DEEP_CLONE
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=acd40b90b3be0c964e50b9df196c7132fea853e4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mk/git-package.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diffs:
diff --git a/mk/git-package.mk b/mk/git-package.mk
index bada7c4..a4d0384 100644
--- a/mk/git-package.mk
+++ b/mk/git-package.mk
@@ -90,7 +90,7 @@ _GIT_FETCH_FLAGS.${repo}= --quiet --recurse-submodules=yes --tags
_GIT_CLONE_FLAGS.${repo}= --quiet --recursive
# For revision checkout we need deep copy
-. if !defined(GIT_REVISION.${repo})
+. if !defined(GIT_REVISION.${repo}) && !defined(GIT_DEEP_CLONE.${repo})
_GIT_FETCH_FLAGS.${repo}+= --depth 1
_GIT_CLONE_FLAGS.${repo}+= --depth 1
. endif
Home |
Main Index |
Thread Index |
Old Index