Skip to content

Commit bf74f51

Browse files
committed
comment
1 parent 3eb0f14 commit bf74f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/view_file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ func prepareToRenderButtons(ctx *context.Context, isLFSFile, isRepresentableAsTe
300300
return
301301
} else if !isRepresentableAsText {
302302
ctx.Data["EditFileTooltip"] = ctx.Tr("repo.editor.cannot_edit_non_text_files")
303-
// TODO: we should not allow delete LFS files, but we need to check if the file is locked
303+
// TODO: delete file tooltip?
304304
return
305305
}
306306

0 commit comments

Comments
 (0)