aboutsummaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
Diffstat (limited to 'vendor')
-rw-r--r--vendor/github.com/gogits/git-module/repo_commit.go6
-rw-r--r--vendor/vendor.json6
2 files changed, 6 insertions, 6 deletions
diff --git a/vendor/github.com/gogits/git-module/repo_commit.go b/vendor/github.com/gogits/git-module/repo_commit.go
index 54aca6c2..78ff0409 100644
--- a/vendor/github.com/gogits/git-module/repo_commit.go
+++ b/vendor/github.com/gogits/git-module/repo_commit.go
@@ -209,10 +209,10 @@ func (repo *Repository) CommitsByRangeSize(revision string, page, size int) (*li
return repo.parsePrettyFormatLogToList(stdout)
}
-const DEFAULT_COMMITS_PAGE_SIZE = 30
+var DefaultCommitsPageSize = 30
func (repo *Repository) CommitsByRange(revision string, page int) (*list.List, error) {
- return repo.CommitsByRangeSize(revision, page, DEFAULT_COMMITS_PAGE_SIZE)
+ return repo.CommitsByRangeSize(revision, page, DefaultCommitsPageSize)
}
func (repo *Repository) searchCommits(id sha1, keyword string) (*list.List, error) {
@@ -245,7 +245,7 @@ func (repo *Repository) CommitsByFileAndRangeSize(revision, file string, page, s
}
func (repo *Repository) CommitsByFileAndRange(revision, file string, page int) (*list.List, error) {
- return repo.CommitsByFileAndRangeSize(revision, file, page, DEFAULT_COMMITS_PAGE_SIZE)
+ return repo.CommitsByFileAndRangeSize(revision, file, page, DefaultCommitsPageSize)
}
func (repo *Repository) FilesCountBetween(startCommitID, endCommitID string) (int, error) {
diff --git a/vendor/vendor.json b/vendor/vendor.json
index 0ba62ca1..2358275d 100644
--- a/vendor/vendor.json
+++ b/vendor/vendor.json
@@ -159,10 +159,10 @@
"revisionTime": "2016-08-10T03:50:02Z"
},
{
- "checksumSHA1": "zkRQagaPCQPU9o+8kGZYIQoysu4=",
+ "checksumSHA1": "0BVytmK2I0QObcFqVyVWWU544DA=",
"path": "github.com/gogits/git-module",
- "revision": "f9c2e671705cc0bb8281a932efe9371404c956b0",
- "revisionTime": "2017-03-16T21:31:27Z"
+ "revision": "e0ab95e3e61573e88bb808ae8052fd669324d80f",
+ "revisionTime": "2017-03-17T02:27:16Z"
},
{
"checksumSHA1": "D2kVXl0QpIw6t3891Sl7IM9wL+w=",