We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22da351 commit 3b5633dCopy full SHA for 3b5633d
merge.go
@@ -178,6 +178,9 @@ const (
178
MergePreferenceFastForwardOnly MergePreference = C.GIT_MERGE_PREFERENCE_FASTFORWARD_ONLY
179
)
180
181
+// MergeAnalysis returns the possible actions which could be taken by
182
+// a 'git-merge' command. There may be multiple answers, so the first
183
+// return value is a bitmask of MergeAnalysis values.
184
func (r *Repository) MergeAnalysis(theirHeads []*AnnotatedCommit) (MergeAnalysis, MergePreference, error) {
185
runtime.LockOSThread()
186
defer runtime.UnlockOSThread()
0 commit comments