cli/pkg/cmd/repo
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
..
archive Add nolint directives to allow-list current lint violations 2022-01-14 19:52:52 +01:00
clone add GetOrDefault functionality to config 2022-01-11 14:56:58 -06:00
create Merge pull request #5022 from cli/config-defaults 2022-01-17 10:44:28 -06:00
credits Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
delete Add nolint directives to allow-list current lint violations 2022-01-14 19:52:52 +01:00
deploy-key Enable repo override for repo deploy-key delete (#5152) 2022-02-01 11:40:34 +00:00
edit repo edit: add ability to add or remove repository topics 2021-12-07 19:28:29 +01:00
fork Merge pull request #5092 from cli/repo-fork-proto 2022-01-26 11:33:47 -06:00
garden Consistently respect GH_HOST in repo archive/create/garden/view commands 2021-10-18 20:05:53 +02:00
list Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
rename Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00
sync Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00
view Ignore EPIPE errors when writing to a closed pager 2022-02-10 16:42:00 +01:00
repo.go Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00