emacswiki: configure sparseCheckout before doing git checkout
This commit is contained in:
parent
78f2d2a643
commit
d69c74ae1d
9
Makefile
9
Makefile
@ -18,12 +18,11 @@ $(call include-once,$(MK_DIR)/emacsd-defs.mk)
|
||||
|
||||
GIT_DIRS += emacswiki
|
||||
URL-emacswiki := https://github.com/emacsmirror/emacswiki.org.git
|
||||
post_init_cmd-emacswiki =\
|
||||
cd $(@D) &&\
|
||||
git config core.sparsecheckout true &&\
|
||||
GITCLONE_FLAGS-emacswiki := --no-checkout --config core.sparseCheckout=true --depth 10
|
||||
post_clone_cmd-emacswiki :=\
|
||||
cd emacswiki &&\
|
||||
echo '!*' > .git/info/sparse-checkout &&\
|
||||
echo '*.el' >> .git/info/sparse-checkout &&\
|
||||
git read-tree -mu HEAD
|
||||
echo '*.el' >> .git/info/sparse-checkout
|
||||
|
||||
GIT_DIRS += use-package
|
||||
URL-use-package := https://github.com/jwiegley/use-package.git
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user