Re: [PATCH v3 2/3] refs: add option core.logAllRefUpdates = always
- From
- Cornelius Weig <cornelius.weig@tngtech.com>
- Date
- Jan 31, 2017, 20:28 UTC
- Message-ID
- <ce8f90a6-d719-63c7-95d0-b2538270e263@tngtech.com>
- In-Reply-To
- <xmqqbmunrwbf.fsf@gitster.mtv.corp.google.com>
On 01/31/2017 06:08 PM, Junio C Hamano wrote:
> I think it is probably a good idea to document the behaviour > (i.e. "--no-create" single-shot from the command line is ignored). > I am not sure we should error out, though, in order to "disallow" > it---a documented silent no-op may be sufficient.
Yes, maybe abort on seeing "--no-create-reflog" is a too drastic measure. I presume that the best place to have the documentation would be to print a warning when seeing the ignored argument?
Or did you just have man pages and code comment in mind?
Cheers, Cornelius