summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-02-19 17:07:28 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-02-19 17:07:28 +0000
commit4e84dcc9156a81fa72d4a3c0fd99cd67daa109c2 (patch)
treef216316515739294b06a3f35153f5306d01a45d9 /eclass/git.eclass
parentSparc stable, Bug #259213. (diff)
downloadgentoo-2-4e84dcc9156a81fa72d4a3c0fd99cd67daa109c2.tar.gz
gentoo-2-4e84dcc9156a81fa72d4a3c0fd99cd67daa109c2.tar.bz2
gentoo-2-4e84dcc9156a81fa72d4a3c0fd99cd67daa109c2.zip
Update git.eclass. Now consumes less bandwitch. Per bug #255451. Thanks to reavertm for the patch. Also add myself as maintainer.
Diffstat (limited to 'eclass/git.eclass')
-rw-r--r--eclass/git.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/git.eclass b/eclass/git.eclass
index 94226ee89448..fb3035099df0 100644
--- a/eclass/git.eclass
+++ b/eclass/git.eclass
@@ -1,11 +1,12 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.14 2008/06/16 11:22:38 zlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.15 2009/02/19 17:07:28 scarabeus Exp $
## --------------------------------------------------------------------------- #
# subversion.eclass author: Akinori Hattori <hattya@gentoo.org>
# modified for git by Donnie Berkholz <spyderous@gentoo.org>
# improved by Fernando J. Pereda <ferdy@gentoo.org>
+# you should currently poke with updates Tomas Chvatal <scarabeus@gentoo.org>
#
# The git eclass is written to fetch the software sources from
# git repositories like the subversion eclass.
@@ -39,7 +40,7 @@ EGIT_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/git-src"
## -- EGIT_FETCH_CMD: git clone command
#
-EGIT_FETCH_CMD="git clone --bare"
+EGIT_FETCH_CMD="git clone --bare --depth 1"
## -- EGIT_UPDATE_CMD: git fetch command
#