mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-13 23:04:52 +02:00
remove repetitive words (#29695)
Signed-off-by: pengqiseven <912170095@qq.com>
This commit is contained in:
1 parent
e6d141182f
commit
7f856d5d74
7 files changed
+7
-7
No files matched your search
@@ -311,7 +311,7 @@ func (c *Commit) GetFilesChangedSinceCommit(pastCommit string) ([]string, error)
|
||||
return c.repo.GetFilesChangedBetween(pastCommit, c.ID.String())
|
||||
}
|
||||
|
||||
// FileChangedSinceCommit Returns true if the file given has changed since the the past commit
|
||||
// FileChangedSinceCommit Returns true if the file given has changed since the past commit
|
||||
// YOU MUST ENSURE THAT pastCommit is a valid commit ID.
|
||||
func (c *Commit) FileChangedSinceCommit(filename, pastCommit string) (bool, error) {
|
||||
return c.repo.FileChangedBetweenCommits(filename, pastCommit, c.ID.String())
|
||||
|
||||
Reference in new issue
Block a user