Remove file links (only do line links)

This commit is contained in:
Zanie
2023-10-25 14:36:24 -05:00
parent 368cb3ee95
commit 89501451d9

View File

@@ -218,8 +218,6 @@ class FormatResult(Result):
def patch_set_with_permalinks(patch_set: PatchSet, repo: ClonedRepository) -> str:
lines = []
for file_patch in patch_set:
file_link = repo.url_for(file_patch.path)
lines.append(f"<a href='{file_link}'>{file_patch.path}</a>")
for hunk in file_patch:
hunk_link = repo.url_for(
file_patch.path,