cli/pkg/cmd/pr
Mislav Marohnić 0a5e220231 Ignore EPIPE errors when writing to a closed pager
While a gh command is writing stdout to a pager, the user may choose to
close the pager program before the pager has read all the data on its
standard input. In that case, the parent gh process will receive an
EPIPE error, which would bubble up its error handling and cause it to
print something like:

    write |1: broken pipe

Since this was caused by an explicit user action of closing the pager,
and since the user probably doesn't want to see this uninformative
error, this informs our global error handling of this error and causes
it to be ignored.
2022-02-10 16:42:00 +01:00
..
checkout add GetOrDefault functionality to config 2022-01-11 14:56:58 -06:00
checks Add watch functionality to pr checks command (#4519) 2022-02-08 08:33:42 +01:00
close Improve issue close re: overfetching, handling PRs 2021-11-23 19:38:55 +01:00
comment Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
create Add non-local PR template support (#5097) 2022-01-29 07:41:24 +00:00
diff Ignore EPIPE errors when writing to a closed pager 2022-02-10 16:42:00 +01:00
edit Simplify GraphQL mutations whose response we are not interested in 2021-12-08 13:35:19 +01:00
list Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
merge spelling: possible (#5157) 2022-02-02 16:54:09 +01:00
ready Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00
reopen Improve issue reopen re: overfetching, handling PRs 2021-11-23 19:39:40 +01:00
review Add nolint directives to allow-list current lint violations 2022-01-14 19:52:52 +01:00
shared Add non-local PR template support (#5097) 2022-01-29 07:41:24 +00:00
status pr status: show number of approvals (#4240) 2022-01-21 15:58:15 +00:00
view Standardize pager output across commands (#5141) 2022-02-01 08:36:51 +01:00
pr.go Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00