git: revert setting of "core.pager". (#13048)

This change is more disruptive of users expectations than what was
intended (it forces using pager for all commands, even when not really
needed).

Sorry for the noise.
This commit is contained in:
OscarL
2025-10-09 11:10:32 -03:00
committed by GitHub
parent 5603f16d79
commit 5ec2a4fee0

View File

@@ -10,7 +10,7 @@ workflows."
HOMEPAGE="https://git-scm.com/"
COPYRIGHT="2005-2025 Git Authors (see git web site for list)"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://www.kernel.org/pub/software/scm/git/git-$portVersion.tar.xz"
CHECKSUM_SHA256="60a7c2251cc2e588d5cd87bae567260617c6de0c22dca9cdbfc4c7d2b8990b62"
SOURCE_URI_2="https://www.kernel.org/pub/software/scm/git/git-manpages-$portVersion.tar.xz"
@@ -262,9 +262,6 @@ INSTALL()
mkdir -p $sysconfDir
printf "[core]\n untrackedCache = true\n" > $sysconfDir/gitconfig
# Allows scrolling with the mouse wheel when using the default (less) pager.
printf " pager = less -+FX\n" >> $sysconfDir/gitconfig
# replace copies of git binaries with symlinks
cd $prefix/bin
for program in git*; do