sourcegraph / go-vcs

manipulate and inspect VCS repositories in Go
https://sourcegraph.com/sourcegraph/go-vcs
Other
79 stars 20 forks source link

Fetch list of committers in a repository #71

Closed pararthshah closed 9 years ago

pararthshah commented 9 years ago

Added method Repository.Committers() to fetch the committers list in a git repo using git shortlog -sne {rev} command. The information returned for each committer consists of: name, email, # of commits in the specified branch/revision.

This method is only implemented for gitcmd; a mercurial implementation is pending.