Thread (1 message) 1 message, 1 author, 2021-09-14

Re: [PATCH v3 2/6] core.fsyncobjectfiles: batched disk flushes

flat view

From: Junio C Hamano <hidden>
Date: 2021-09-14 20:33:44

Junio C Hamano [off-list ref] writes:
Perhaps

	if (value && !strcmp(value, "batch"))
		fsync_object_files = FSYNC_OBJECT_FILES_BATCH;
	else if (git_config_bool(var, value))
		fsync_object_files = FSYNC_OBJECT_FILES_ON;
	else
		fsync_object_files = FSYNC_OBJECT_FILES_OFF;
By the way, in case it wasn't clear, I do mean strcmp and not
strcasecmp.  Making these things that are meant to be machine
readable tokens to be spelled in different ways in the name of
"friendliness" is a disease.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help