On 2021-02-28 at 12:37:39, Ævar Arnfjörð Bjarmason wrote: > 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
Attachment:
signature.asc
Description: PGP signature