Merge branch 'js/stop-exporting-bogus-columns' into seen
authorJunio C Hamano <gitster@pobox.com>
Sat, 19 Jun 2021 07:30:25 +0000 (16:30 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Jun 2021 07:30:26 +0000 (16:30 +0900)
commit7de7e842c8fe590f3d89c883ba0097d6e7e30e6f
tree94827b0cf4601ad3d060b822ff125fcd84cd5cfd
parent488ea585b8d004748347f4bd8a44307fb60db6c0
parent5109a0713ed34c8f39094981fe3f77993cb192ed
Merge branch 'js/stop-exporting-bogus-columns' into seen

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
only when building on Windows to work around this issue.

* js/stop-exporting-bogus-columns:
  pager: do not unnecessarily set COLUMNS on Windows