diff options
author | 2010-01-25 17:15:18 +0000 | |
---|---|---|
committer | 2010-01-25 17:15:18 +0000 | |
commit | c3cd93c8cc3fb341e0bc34749eca54e8398cbb92 (patch) | |
tree | 499b772edc0647363a28de5d28130592907d49b1 /eclass | |
parent | Add ~x86 keyword (tested on development container) and remove old version (wi... (diff) | |
download | historical-c3cd93c8cc3fb341e0bc34749eca54e8398cbb92.tar.gz historical-c3cd93c8cc3fb341e0bc34749eca54e8398cbb92.tar.bz2 historical-c3cd93c8cc3fb341e0bc34749eca54e8398cbb92.zip |
Fix non-master master breakage with deleting own branch.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/git.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/git.eclass b/eclass/git.eclass index 25c09037adfe..b58954b303ad 100644 --- a/eclass/git.eclass +++ b/eclass/git.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.38 2010/01/23 15:46:50 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.39 2010/01/25 17:15:18 scarabeus Exp $ # @ECLASS: git.eclass # @MAINTAINER: @@ -282,7 +282,7 @@ git_fetch() { debug-print "${EGIT_UPDATE_CMD} ${EGIT_OPTIONS}" # fix branching git checkout ${EGIT_MASTER} - for x in $(git branch |grep -v "* master" |tr '\n' ' '); do + for x in $(git branch |grep -v "* ${EGIT_MASTER}" |tr '\n' ' '); do git branch -D ${x} done ${EGIT_UPDATE_CMD} ${EGIT_OPTIONS} \ |