diff options
author | pengqiseven <134899215+pengqiseven@users.noreply.github.com> | 2024-03-11 17:24:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 09:24:23 +0000 |
commit | 7f856d5d742dcb6febdb8a3f22cd9a8fecc69a4d (patch) | |
tree | d34285b58db3b9afe2535dfc0b19d74255592135 /modules/git | |
parent | e6d141182fbd1c56cab3f9369ee4d2a3deb9ab9f (diff) | |
download | gitea-7f856d5d742dcb6febdb8a3f22cd9a8fecc69a4d.tar.gz gitea-7f856d5d742dcb6febdb8a3f22cd9a8fecc69a4d.zip |
remove repetitive words (#29695)
Signed-off-by: pengqiseven <912170095@qq.com>
Diffstat (limited to 'modules/git')
-rw-r--r-- | modules/git/commit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/commit.go b/modules/git/commit.go index 5d960e92f3..facb632bd9 100644 --- a/modules/git/commit.go +++ b/modules/git/commit.go @@ -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()) |