fetch/git: clone the as bare
PATCH 1/1 fetch/git: clone the as bare
this will reduce the space used and speed up the clone
as we will generate an archive later which does need the tree checkouted
--- package/Makefile.package.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
package/Makefile.package.in +1 -1
@@ -105,7 +105,7 @@ endif define DOWNLOAD_GIT test -e $(DL_DIR)/$($(PKG)_SOURCE) || \ (pushd $(DL_DIR) > /dev/null && \ - $(GIT) clone $($(PKG)_SITE) $($(PKG)_BASE_NAME) && \ + $(GIT) clone --bare $($(PKG)_SITE) $($(PKG)_BASE_NAME) && \ pushd $($(PKG)_BASE_NAME) > /dev/null && \ $(GIT) archive --format=tar --prefix=$($(PKG)_BASE_NAME)/ $($(PKG)_DL_VERSION) | \ gzip -c > $(DL_DIR)/$($(PKG)_SOURCE) && \
Signature · 1 line
1.7.4.1
PATCH 1/1 fetch/git: clone the as bare
Quoted 4 lines · On Tue, 15 Mar 2011 13:49:58 +0100 Jean-Christophe PLAGNIOL-VILLARD…
this will reduce the space used and speed up the clone
as we will generate an archive later which does need the tree checkoutedSigned-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
Sounds good to me.
Could you resend a new version with a correct title, such as "fetch/git: clone the repository as bare" or something like that ?
It would then get my:
Thanks!
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH v2 1/1 fetch/git: clone the repository as bare
In reply to Jean-Christophe PLAGNIOL-VILLARDthis will reduce the space used and speed up the clone
as we will generate an archive later which does need the tree checkouted
---
v2:
Fix subject
Best Regards,
J.
package/Makefile.package.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
package/Makefile.package.in +1 -1
@@ -105,7 +105,7 @@ endif define DOWNLOAD_GIT test -e $(DL_DIR)/$($(PKG)_SOURCE) || \ (pushd $(DL_DIR) > /dev/null && \ - $(GIT) clone $($(PKG)_SITE) $($(PKG)_BASE_NAME) && \ + $(GIT) clone --bare $($(PKG)_SITE) $($(PKG)_BASE_NAME) && \ pushd $($(PKG)_BASE_NAME) > /dev/null && \ $(GIT) archive --format=tar --prefix=$($(PKG)_BASE_NAME)/ $($(PKG)_DL_VERSION) | \ gzip -c > $(DL_DIR)/$($(PKG)_SOURCE) && \
Signature · 1 line
1.7.4.1
PATCH v2 1/1 fetch/git: clone the repository as bare
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jean-Christophe" == Jean-Christophe PLAGNIOL-VILLARD <[email protected]> writes:
Jean-Christophe> this will reduce the space used and speed up the clone Jean-Christophe> as we will generate an archive later which does need the tree checkouted
Committed with slightly tweaked commit message, thanks.
Signature · 1 line
Bye, Peter Korsgaard