Merge branch 'ns/core-fsyncmethod'
A couple of fix-up to a topic that is now in 'master'. * ns/core-fsyncmethod: core.fsyncmethod: correctly camel-case warning message core.fsync: fix incorrect expression for default configuration
This commit is contained in:
commit
27dd460799
4
cache.h
4
cache.h
@ -1014,8 +1014,8 @@ enum fsync_component {
|
||||
#define FSYNC_COMPONENTS_DERIVED_METADATA (FSYNC_COMPONENT_PACK_METADATA | \
|
||||
FSYNC_COMPONENT_COMMIT_GRAPH)
|
||||
|
||||
#define FSYNC_COMPONENTS_DEFAULT (FSYNC_COMPONENTS_OBJECTS | \
|
||||
FSYNC_COMPONENTS_DERIVED_METADATA | \
|
||||
#define FSYNC_COMPONENTS_DEFAULT ((FSYNC_COMPONENTS_OBJECTS | \
|
||||
FSYNC_COMPONENTS_DERIVED_METADATA) & \
|
||||
~FSYNC_COMPONENT_LOOSE_OBJECT)
|
||||
|
||||
#define FSYNC_COMPONENTS_COMMITTED (FSYNC_COMPONENTS_OBJECTS | \
|
||||
|
2
config.c
2
config.c
@ -1695,7 +1695,7 @@ static int git_default_core_config(const char *var, const char *value, void *cb)
|
||||
|
||||
if (!strcmp(var, "core.fsyncobjectfiles")) {
|
||||
if (fsync_object_files < 0)
|
||||
warning(_("core.fsyncobjectfiles is deprecated; use core.fsync instead"));
|
||||
warning(_("core.fsyncObjectFiles is deprecated; use core.fsync instead"));
|
||||
fsync_object_files = git_config_bool(var, value);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user