소스 검색

Add mailmap docs

Vadim Markovtsev 8 년 전
부모
커밋
6e7f595215
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      mailmap.go

+ 4 - 0
mailmap.go

@@ -6,6 +6,10 @@ import (
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 )
 
+// ParseMailmap parses the contents of .mailmap and returns the mapping
+// between signature parts. It does *not* follow the full signature
+// matching convention, that is, developers are identified by email
+// and by name independently.
 func ParseMailmap(contents string) map[string]object.Signature {
   mm := map[string]object.Signature{}
 	lines := strings.Split(contents, "\n")