diff options
author | Fernando J. Pereda <ferdy@gentoo.org> | 2006-12-30 18:21:02 +0000 |
---|---|---|
committer | Fernando J. Pereda <ferdy@gentoo.org> | 2006-12-30 18:21:02 +0000 |
commit | 5fbb4cec0022d6c6f310551ab9c00e0a5da4db67 (patch) | |
tree | 0c5c70eb3463fc087d5143b6b8b7309379072d48 /eclass | |
parent | /usr/portage/eclass/distutils.eclass (diff) | |
download | historical-5fbb4cec0022d6c6f310551ab9c00e0a5da4db67.tar.gz historical-5fbb4cec0022d6c6f310551ab9c00e0a5da4db67.tar.bz2 historical-5fbb4cec0022d6c6f310551ab9c00e0a5da4db67.zip |
git.eclass: Pipe trough cat instead of setting PAGER=cat
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/git.eclass | 7 |
1 files 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 <hattya@gentoo.org> @@ -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}" |