Skip to content

Commit 2c9c9e1

Browse files
committed
Update comment
1 parent 614a4b3 commit 2c9c9e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/repository/files/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ func CreateOrUpdateFile(ctx context.Context, t *TemporaryUploadRepository, file
524524

525525
var pointer lfs.Pointer
526526
// Get existing lfs pointer if the operation is a pure rename and the old path is in lfs. This prevents the
527-
// re-generation/re-hash of a lfs pointer to the same data
527+
// regeneration/rehash of a lfs pointer to the same data
528528
if file.Operation == "rename" && attributesMap[file.Options.fromTreePath] != nil && attributesMap[file.Options.fromTreePath].Get(attribute.Filter).ToString().Value() == "lfs" {
529529
if pointer, err = lfs.ReadPointer(treeObjectContentReader); err != nil {
530530
return err

0 commit comments

Comments
 (0)