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

Re: [PATCH] rename_ref(): only print a warning when config-file update fails

From
GBGeert Bosch <bosch@gnat.com>
Date
Apr 6, 2007, 10:35 UTC
Message-ID
<2FE08503-8936-4EB9-9DBF-08AFE2923BD9@gnat.com>
In-Reply-To
<11758483861506-git-send-email-hjemli@gmail.com>
On Apr 6, 2007, at 04:33, Lars Hjemli wrote:
Show 7 quoted lines
> If git_config_rename_section() fails, rename_ref() used to return  
> 1, which
> left HEAD pointing to an absent refs/heads file (since the actual  
> renaming
> had already occurred).
>
> Signed-off-by: Lars Hjemli <hjemli@gmail.com>

This makes sense in addition to my patch, if the renaming fails for any of the other possible reasons.

   -Geert
Previous: Lars HjemliNext: Junio C Hamano
Message 2 of 5 in “rename_ref(): only print a warning when config-file update fails”
  1. rename_ref(): only print a warning when config-file update failsLars Hjemli, Apr 6, 2007
  2. Geert BoschApr 6, 2007
  3. Junio C HamanoApr 6, 2007
  4. Lars HjemliApr 6, 2007
  5. Junio C HamanoApr 7, 2007

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.