From 8278e48a29cab0eeae226da9a02558a06779f89b Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 12 Feb 2025 00:52:41 +0800 Subject: repo_commit: Add TODO to prepend "+"/"-"/" " --- handle_repo_commit.go | 1 + 1 file changed, 1 insertion(+) (limited to 'handle_repo_commit.go') diff --git a/handle_repo_commit.go b/handle_repo_commit.go index 0570056..03a7cd4 100644 --- a/handle_repo_commit.go +++ b/handle_repo_commit.go @@ -81,6 +81,7 @@ func handle_repo_commit(w http.ResponseWriter, r *http.Request) { data["patch"] = patch // TODO: Remove unnecessary context + // TODO: Prepend "+"/"-"/" " instead of solely distinguishing based on color usable_file_patches := make([]usable_file_patch, 0) for _, file_patch := range patch.FilePatches() { from, to := file_patch.Files() -- cgit v1.2.3