git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/2] advice: add diverging advice

From
Taylor Blau <me@ttaylorr.com>
Date
Mar 8, 2023, 16:03 UTC
Message-ID
<ZAix68A9e6RHz69y@nand.local>
In-Reply-To
<20230308024834.1562386-1-felipe.contreras@gmail.com>
Hi Felipe,
On Tue, Mar 07, 2023 at 08:48:32PM -0600, Felipe Contreras wrote:
Show 9 quoted lines
> Not all our users are experts in git who understand their configurations
> perfectly, some might be stuck in a simple error:
>
>   Not possible to fast-forward, aborting.
>
> That's not very friendly.
>
> Let's add a bit more advice in case the user doesn't know what's going
> on.

Thanks for improving this case. I think the new advice() is reasonable and will be helpful for users who might otherwise get stuck here.

I don't think that splitting it into two separate patches was strictly necessary. If I were queuing, I'd probably squash the two together, but I leave that one to Junio to figure out ;-).

Thanks, Taylor

Previous: Felipe ContrerasNext: Junio C Hamano
Message 5 of 7 in “advice: add diverging advice”
  1. 0/2 advice: add diverging adviceFelipe Contreras, Mar 8, 2023
  2. 1/2 advice: add diverging advice for novicesFelipe Contreras, Mar 8, 2023
  3. Junio C HamanoMar 8, 2023
  4. 2/2 advice: make diverging advice configurableFelipe Contreras, Mar 8, 2023
  5. Taylor BlauMar 8, 2023
  6. Junio C HamanoMar 8, 2023
  7. Junio C HamanoMar 9, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.