Merge branch 'js/stop-exporting-bogus-columns'
commit32d62802266328f0beb8aede853f6e25e8cbc00f
authorJunio C Hamano <gitster@pobox.com>
Thu, 8 Jul 2021 20:15:06 +0000 (8 13:15 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Jul 2021 20:15:06 +0000 (8 13:15 -0700)
treefa98f0774d67be3b61e59d4a9e313b34a5489fac
parent5ae1eb22c98b2e75437f8d524eaa9fc7959fa438
parent9b6e2c8b98f6a382a6ee8d9110bfe93b1b48d6a7
Merge branch 'js/stop-exporting-bogus-columns'

When we cannot figure out how wide the terminal is, we use a
fallback value of 80 ourselves (which cannot be avoided), but when
we run the pager, we export it in COLUMNS, which forces the pager
to use the hardcoded value, even when the pager is perfectly
capable to figure it out itself.  Stop exporting COLUMNS when we
fall back on the hardcoded default value for our own use.

* js/stop-exporting-bogus-columns:
  pager: avoid setting COLUMNS when we're guessing its value