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 | 4cec1c7ad936c0766e0447e65527c1f64da5af5f (patch) | |
tree | 50a8a941afa94a0a9fadb0e837b1835b541e4e8d /eclass | |
parent | Mark internal functions @INTERNAL. (diff) | |
download | historical-4cec1c7ad936c0766e0447e65527c1f64da5af5f.tar.gz historical-4cec1c7ad936c0766e0447e65527c1f64da5af5f.tar.bz2 historical-4cec1c7ad936c0766e0447e65527c1f64da5af5f.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 ." |