From 2c9c9e1b14028818c5852eac8988a324e0e133b9 Mon Sep 17 00:00:00 2001 From: bytedream Date: Thu, 8 May 2025 12:59:09 +0200 Subject: [PATCH] Update comment --- services/repository/files/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/repository/files/update.go b/services/repository/files/update.go index fdb28a35cb..b9655ef748 100644 --- a/services/repository/files/update.go +++ b/services/repository/files/update.go @@ -524,7 +524,7 @@ func CreateOrUpdateFile(ctx context.Context, t *TemporaryUploadRepository, file var pointer lfs.Pointer // Get existing lfs pointer if the operation is a pure rename and the old path is in lfs. This prevents the - // re-generation/re-hash of a lfs pointer to the same data + // regeneration/rehash of a lfs pointer to the same data if file.Operation == "rename" && attributesMap[file.Options.fromTreePath] != nil && attributesMap[file.Options.fromTreePath].Get(attribute.Filter).ToString().Value() == "lfs" { if pointer, err = lfs.ReadPointer(treeObjectContentReader); err != nil { return err