diff options
Diffstat (limited to 'vendor/github.com/gogs/git-module/commit.go')
-rw-r--r-- | vendor/github.com/gogs/git-module/commit.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vendor/github.com/gogs/git-module/commit.go b/vendor/github.com/gogs/git-module/commit.go index 64831d7f..cab9f464 100644 --- a/vendor/github.com/gogs/git-module/commit.go +++ b/vendor/github.com/gogs/git-module/commit.go @@ -163,11 +163,6 @@ func commitsCount(repoPath, revision, relpath string) (int64, error) { return strconv.ParseInt(strings.TrimSpace(stdout), 10, 64) } -// CommitsCount returns number of total commits of until given revision. -func CommitsCount(repoPath, revision string) (int64, error) { - return commitsCount(repoPath, revision, "") -} - func (c *Commit) CommitsCount() (int64, error) { return CommitsCount(c.repo.Path, c.ID.String()) } |