Re: [PATCH] rename_ref(): only print a warning when config-file update fails
- From
- Geert 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