Package: git
Version: 1:2.20.0~rc1-1
Severity: normal

Some git commands with a lot of output fail with a broken pipe when
one quits the pager (without going to the end of the output).

For instance, in zsh:

cventin% setopt PRINT_EXIT_VALUE
cventin% git log
zsh: broken pipe  git log
cventin% echo $?
141
cventin% 

This is annoying. And of course, I don't want to hide error messages
by default, because this would hide *real* errors.

The broken pipe is internally expected, thus should not be reported
by git.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages git depends on:
ii  git-man          1:2.20.0~rc1-1
ii  libc6            2.27-8
ii  libcurl3-gnutls  7.62.0-1
ii  liberror-perl    0.17027-1
ii  libexpat1        2.2.6-1
ii  libpcre2-8-0     10.32-3
ii  perl             5.28.0-4
ii  zlib1g           1:1.2.11.dfsg-1

Versions of packages git recommends:
ii  less                         487-0.1+b1
ii  openssh-client [ssh-client]  1:7.9p1-4
ii  patch                        2.7.6-3

Versions of packages git suggests:
ii  gettext-base                          0.19.8.1-9
pn  git-cvs                               <none>
pn  git-daemon-run | git-daemon-sysvinit  <none>
ii  git-doc                               1:2.20.0~rc1-1
pn  git-el                                <none>
ii  git-email                             1:2.20.0~rc1-1
ii  git-gui                               1:2.20.0~rc1-1
pn  git-mediawiki                         <none>
ii  git-svn                               1:2.20.0~rc1-1
ii  gitk                                  1:2.20.0~rc1-1
pn  gitweb                                <none>

-- no debconf information

Reply via email to