Add checkbox to search for all the branches by commit message (#813)

and updating the vendor directory
This commit is contained in:
Zsombor authored and Lunny Xiao committed 2017-02-05 22:43:28 +08:00
1 parent f35b20b042
commit e388db311b
9 files changed
+39 -18

No files matched your search

+2 -2
View File
@@ -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