Re: [PATCH 3/4] docs: add a FAQ section on push and fetch problems
On 2021-02-28 at 12:37:39, Ævar Arnfjörð Bjarmason wrote:
Show 17 quoted lines
> I haven't looked in details at the content of the FAQ itself being added
> here (as far as proposed solutions etc. go), but I wonder if this
> wouldn't be 10x more useful to users if we cross-linked these errors
> with the docs, e.g.:
>
> diff --git a/remote-curl.c b/remote-curl.c
> index 0290b04891..ffb1001703 100644
> --- a/remote-curl.c
> +++ b/remote-curl.c
> @@ -829,7 +829,7 @@ static int run_slot(struct active_request_slot *slot,
> strbuf_addstr(&msg, curl_errorstr);
> }
> }
> - error(_("RPC failed; %s"), msg.buf);
> + error(_("RPC failed (see 'git help faq'); %s"), msg.buf);
> strbuf_release(&msg);
> }Sure, I can send a patch to do that. That's a great idea.
--
brian m. carlson (he/him or they/them)
Houston, Texas, US