MCPcopy Create free account
hub / github.com/libgit2/pygit2 / MergePreference

Class MergePreference

pygit2/enums.py:902–918  ·  view source on GitHub ↗

The user's stated preference for merges.

Source from the content-addressed store, hash-verified

900
901
902class MergePreference(IntFlag):
903 """The user's stated preference for merges."""
904
905 NONE = _pygit2.GIT_MERGE_PREFERENCE_NONE
906 'No configuration was found that suggests a preferred behavior for merge.'
907
908 NO_FASTFORWARD = _pygit2.GIT_MERGE_PREFERENCE_NO_FASTFORWARD
909 """
910 There is a `merge.ff=false` configuration setting, suggesting that
911 the user does not want to allow a fast-forward merge.
912 """
913
914 FASTFORWARD_ONLY = _pygit2.GIT_MERGE_PREFERENCE_FASTFORWARD_ONLY
915 """
916 There is a `merge.ff=only` configuration setting, suggesting that
917 the user only wants fast-forward merges.
918 """
919
920
921class ObjectType(IntEnum):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…