Re: [PATCH] Fix renaming branch without config file
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 5, 2007, 15:30 UTC
- Message-ID
- <Pine.LNX.4.63.0704051728400.4045@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20070405144359.4B8832A7C67@potomac.gnat.com>
Hi,
On Thu, 5 Apr 2007, Geert Bosch wrote:
> Make git_config_rename_section return success if no config file > exists.
I don't think this is correct. git_config_rename_section() _should_ return an error.
> Otherwise, renaming a branch would abort, leaving the repository in an > inconsistent state.
This should take the hint from --rename-section, and print a warning (or not).
Ciao, Dscho