Mention that MergeAnalysis is a bitmask

This commit is contained in:
Carlos Martín Nieto 2015-10-26 21:22:22 +01:00
parent 22da351b1e
commit 3b5633de21
1 changed files with 3 additions and 0 deletions

View File

@ -178,6 +178,9 @@ const (
MergePreferenceFastForwardOnly MergePreference = C.GIT_MERGE_PREFERENCE_FASTFORWARD_ONLY
)
// MergeAnalysis returns the possible actions which could be taken by
// a 'git-merge' command. There may be multiple answers, so the first
// return value is a bitmask of MergeAnalysis values.
func (r *Repository) MergeAnalysis(theirHeads []*AnnotatedCommit) (MergeAnalysis, MergePreference, error) {
runtime.LockOSThread()
defer runtime.UnlockOSThread()