core.fsync: fix incorrect expression for default configuration

Commit b9f5d035 (core.fsync: documentation and user-friendly aggregate options, 2022-03-15) introduced an incorrect value for FSYNC_COMPONENTS_DEFAULT. We need an AND-NOT rather than OR-NOT. Signed-off-by: Neeraj Singh <neerajsi@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Neeraj Singh committed Mar 29, 2022 at 21:41 UTC e5ec440c982417d39908b9a4bab79523a6a37f6c
1 file changed +2 -2
cache.h
+2 -2
@@ -1013,8 +1013,8 @@ enum fsync_component {
1013 #define FSYNC_COMPONENTS_DERIVED_METADATA (FSYNC_COMPONENT_PACK_METADATA | \
1014 FSYNC_COMPONENT_COMMIT_GRAPH)
1015
1016 -#define FSYNC_COMPONENTS_DEFAULT (FSYNC_COMPONENTS_OBJECTS | \
1017 - FSYNC_COMPONENTS_DERIVED_METADATA | \
1016 +#define FSYNC_COMPONENTS_DEFAULT ((FSYNC_COMPONENTS_OBJECTS | \
1017 + FSYNC_COMPONENTS_DERIVED_METADATA) & \
1018 ~FSYNC_COMPONENT_LOOSE_OBJECT)
1019
1020 #define FSYNC_COMPONENTS_COMMITTED (FSYNC_COMPONENTS_OBJECTS)