aboutsummaryrefslogtreecommitdiffstats
path: root/repository.go
diff options
context:
space:
mode:
authoravoidalone <wuguangdong@outlook.com>2024-03-11 15:20:35 +0800
committeravoidalone <wuguangdong@outlook.com>2024-03-12 11:51:33 +0800
commit04f7b23cbb85040a276ab2b7d6879223779451fd (patch)
treebe1ebbe0ad0e31d9b93682e3e64203be0458d050 /repository.go
parentca05e2c4d8cb1801d3a8c12773bac206774871a3 (diff)
downloadgo-git-04f7b23cbb85040a276ab2b7d6879223779451fd.tar.gz
*: fix some comments
Signed-off-by: avoidalone <wuguangdong@outlook.com>
Diffstat (limited to 'repository.go')
-rw-r--r--repository.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository.go b/repository.go
index 1524a69..272d340 100644
--- a/repository.go
+++ b/repository.go
@@ -1770,7 +1770,7 @@ func (r *Repository) RepackObjects(cfg *RepackConfig) (err error) {
}
// createNewObjectPack is a helper for RepackObjects taking care
-// of creating a new pack. It is used so the the PackfileWriter
+// of creating a new pack. It is used so the PackfileWriter
// deferred close has the right scope.
func (r *Repository) createNewObjectPack(cfg *RepackConfig) (h plumbing.Hash, err error) {
ow := newObjectWalker(r.Storer)