diff options
author | Michał Górny <mgorny@gentoo.org> | 2011-09-23 13:58:35 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2011-09-23 13:58:35 +0000 |
commit | 8560d746c6f3b8ee7fbeb7e6744993f07eb68f13 (patch) | |
tree | 2d9374198608162d8e7398cc00c9515a76910d45 /eclass | |
parent | Mark internal functions @INTERNAL. (diff) | |
download | gentoo-2-8560d746c6f3b8ee7fbeb7e6744993f07eb68f13.tar.gz gentoo-2-8560d746c6f3b8ee7fbeb7e6744993f07eb68f13.tar.bz2 gentoo-2-8560d746c6f3b8ee7fbeb7e6744993f07eb68f13.zip |
Ensure EGIT_LOCAL_NONBARE doesn't leak in from env.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/git-2.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/git-2.eclass b/eclass/git-2.eclass index a0b09f7cca87..d2a8a2e3a73e 100644 --- a/eclass/git-2.eclass +++ b/eclass/git-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v 1.22 2011/09/23 13:58:22 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v 1.23 2011/09/23 13:58:35 mgorny Exp $ # @ECLASS: git-2.eclass # @MAINTAINER: @@ -507,6 +507,7 @@ git-2_migrate_repository() { MOVE_COMMAND="git clone -l -s -n ${EGIT_DIR// /\\ }" EGIT_UPDATE_CMD="git fetch -t -f -u origin ${EGIT_BRANCH}:${EGIT_BRANCH}" UPSTREAM_BRANCH="${EGIT_BRANCH}" + EGIT_LOCAL_NONBARE= else debug-print "${FUNCNAME}: working in bare repository for non-bare \"${EGIT_DIR}\"" MOVE_COMMAND="cp -pPR ." |