From 5fbb4cec0022d6c6f310551ab9c00e0a5da4db67 Mon Sep 17 00:00:00 2001 From: "Fernando J. Pereda" Date: Sat, 30 Dec 2006 18:21:02 +0000 Subject: [PATCH] git.eclass: Pipe trough cat instead of setting PAGER=cat --- eclass/git.eclass | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/eclass/git.eclass b/eclass/git.eclass index 4d1fabd36934..6d706e2090f2 100644 --- a/eclass/git.eclass +++ b/eclass/git.eclass @@ -1,6 +1,6 @@ # 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.2 2006/12/30 17:17:05 ferdy Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.3 2006/12/30 18:21:02 ferdy Exp $ ## --------------------------------------------------------------------------- # # subversion.eclass author: Akinori Hattori @@ -47,7 +47,7 @@ EGIT_UPDATE_CMD="git fetch -f -u" ## -- EGIT_DIFFSTAT_CMD: Command to get diffstat output # -EGIT_DIFFSTAT_CMD="PAGER=cat git diff --stat" +EGIT_DIFFSTAT_CMD="git diff --stat" ## -- EGIT_OPTIONS: @@ -204,7 +204,8 @@ git_fetch() { ${EGIT_UPDATE_CMD} ${EGIT_OPTIONS} origin ${EGIT_BRANCH}:${EGIT_BRANCH} \ || die "${EGIT}: can't update from ${EGIT_REPO_URI}." - ${EGIT_DIFFSTAT_CMD} ${oldsha1}..${EGIT_BRANCH} + # piping through cat is needed to avoid a stupid Git feature + ${EGIT_DIFFSTAT_CMD} ${oldsha1}..${EGIT_BRANCH} | cat fi einfo " local clone: ${EGIT_STORE_DIR}/${EGIT_CLONE_DIR}" -- 2.26.2