vlc | branch: master | Jérémy Carrier <[email protected]> | Thu Feb 19 17:03:28 2015 +0100| [1ae0d4773a3ad16f7e2d5d67ea37ab1a2a1c9141] | committer: Jean-Baptiste Kempf
Contribs: Reduce git clone time by using --depth 1 Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1ae0d4773a3ad16f7e2d5d67ea37ab1a2a1c9141 --- contrib/src/main.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/src/main.mak b/contrib/src/main.mak index fdeeba9..a3b98c0 100644 --- a/contrib/src/main.mak +++ b/contrib/src/main.mak @@ -296,7 +296,7 @@ HOSTVARS_PIC := $(HOSTTOOLS) \ download_git = \ rm -Rf $(@:.tar.xz=) && \ - $(GIT) clone $(2:%=--branch %) $(1) $(@:.tar.xz=) && \ + $(GIT) clone --depth 1 $(2:%=--branch %) $(1) $(@:.tar.xz=) && \ (cd $(@:.tar.xz=) && $(GIT) checkout $(3:%= %)) && \ rm -Rf $(@:%.tar.xz=%)/.git && \ (cd $(dir $@) && \ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
