Skip to content

Commit ac27f46

Browse files
committed
update comment.
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent e5e8765 commit ac27f46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

models/repo_mirror.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,7 @@ func SyncMirrors() {
267267
continue
268268
}
269269

270-
// Get latest commit date and compare to current repository updated time,
271-
// update if latest commit date is newer.
270+
// Get latest commit date and update to current repository updated time
272271
commitDate, err := git.GetLatestCommitTime(m.Repo.RepoPath())
273272
if err != nil {
274273
log.Error(2, "GetLatestCommitDate [%s]: %v", m.RepoID, err)

0 commit comments

Comments
 (0)