summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-04-20 21:51:21 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-04-20 21:51:21 +0000
commit2117dbf3fe25718446fb9fda463bd19fed5ca2cc (patch)
tree2b3fe98eea9cac950ec35907c586f58d5ad8413e /eclass
parentRemove old version; add a new one with static-libs USE flag and dropped .la f... (diff)
downloadhistorical-2117dbf3fe25718446fb9fda463bd19fed5ca2cc.tar.gz
historical-2117dbf3fe25718446fb9fda463bd19fed5ca2cc.tar.bz2
historical-2117dbf3fe25718446fb9fda463bd19fed5ca2cc.zip
Play it safe and fetch all tags when working on bare repository.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/git-2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/git-2.eclass b/eclass/git-2.eclass
index 289280064e9a..29888c0c03b4 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.1 2011/04/20 10:56:27 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v 1.2 2011/04/20 21:51:21 scarabeus Exp $
# @ECLASS: git-2.eclass
# @MAINTAINER:
@@ -479,7 +479,7 @@ git-2_migrate_repository() {
debug-print "${FUNCNAME}: working in bare repository for \"${EGIT_DIR}\""
EGIT_OPTIONS+=" --bare"
MOVE_COMMAND="git clone -l -s -n ${EGIT_DIR// /\\ }"
- EGIT_UPDATE_CMD="git fetch -f -u origin ${EGIT_BRANCH}:${EGIT_BRANCH}"
+ EGIT_UPDATE_CMD="git fetch -t -f -u origin ${EGIT_BRANCH}:${EGIT_BRANCH}"
UPSTREAM_BRANCH="${EGIT_BRANCH}"
else
debug-print "${FUNCNAME}: working in bare repository for non-bare \"${EGIT_DIR}\""