summaryrefslogtreecommitdiffstats
path: root/vendor/code.gitea.io/git/commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/code.gitea.io/git/commit.go')
-rw-r--r--vendor/code.gitea.io/git/commit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/code.gitea.io/git/commit.go b/vendor/code.gitea.io/git/commit.go
index dc5f2bd145..fa5e185619 100644
--- a/vendor/code.gitea.io/git/commit.go
+++ b/vendor/code.gitea.io/git/commit.go
@@ -198,8 +198,8 @@ func (c *Commit) CommitsBeforeUntil(commitID string) (*list.List, error) {
}
// SearchCommits returns the commits match the keyword before current revision
-func (c *Commit) SearchCommits(keyword string) (*list.List, error) {
- return c.repo.searchCommits(c.ID, keyword)
+func (c *Commit) SearchCommits(keyword string, all bool) (*list.List, error) {
+ return c.repo.searchCommits(c.ID, keyword, all)
}
// GetFilesChangedSinceCommit get all changed file names between pastCommit to current revision