Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Clone git repositories with '--depth 1'"

This reverts commit 0fbc190.

It doesn't work with git over gttp
  • Loading branch information...
commit d3e2e1691825429effd02c9151ded0ab4c655fb7 1 parent b0ed756
@larsclausen larsclausen authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  include/download.mk
  2. +2 −2 include/kernel-defaults.mk
View
2  include/download.mk
@@ -87,7 +87,7 @@ define DownloadMethod/git
cd $(TMP_DIR)/dl && \
rm -rf $(SUBDIR) && \
[ \! -d $(SUBDIR) ] && \
- git clone --depth 1 $(URL) $(SUBDIR) && \
+ git clone $(URL) $(SUBDIR) && \
(cd $(SUBDIR) && git checkout $(VERSION)) && \
echo "Packing checkout..." && \
rm -rf $(SUBDIR)/.git && \
View
4 include/kernel-defaults.mk
@@ -36,11 +36,11 @@ ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
else
ifeq ($(strip $(CONFIG_KERNEL_GIT_LOCAL_REPOSITORY)),"")
define Kernel/Prepare/Default
- git clone --depth 1 $(CONFIG_KERNEL_GIT_CLONE_URI) $(LINUX_DIR)
+ git clone $(CONFIG_KERNEL_GIT_CLONE_URI) $(LINUX_DIR)
endef
else
define Kernel/Prepare/Default
- git clone --depth 1 --reference $(CONFIG_KERNEL_GIT_LOCAL_REPOSITORY) $(CONFIG_KERNEL_GIT_CLONE_URI) $(LINUX_DIR)
+ git clone --reference $(CONFIG_KERNEL_GIT_LOCAL_REPOSITORY) $(CONFIG_KERNEL_GIT_CLONE_URI) $(LINUX_DIR)
endef
endif
endif
Please sign in to comment.
Something went wrong with that request. Please try again.