Ray's Knowledge Base
Unlock

Debian and Ubuntu git print pager for git var GIT_PAGER, so the rgit parity test must pin the pager

FactVerified 1 Oct 2026Holds project: rgit
Fact. A statement and the evidence for it.

Statement#

Debian and Ubuntu build git with pager as the default pager. On the CI runner, git var GIT_PAGER prints pager. rgit prints less. A byte-parity test of var passes on macOS and fails on Ubuntu, unless the test sets GIT_PAGER=less for both sides.

Evidence#

Seen in the rgit CI on 2026-10-01. The fix is the rgit commit "test: pin the pager and tolerate git 2.52's sparse-checkout clean".