diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-12 00:52:41 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-12 00:52:41 +0800 |
commit | 8278e48a29cab0eeae226da9a02558a06779f89b (patch) | |
tree | 9d2b904d5ab3c9f73bb659fffce6593e3cfaa51f /handle_repo_commit.go | |
parent | repo_commit: Use /dev/null, not {a,b}/NULL, for empty files (diff) | |
download | forge-8278e48a29cab0eeae226da9a02558a06779f89b.tar.gz forge-8278e48a29cab0eeae226da9a02558a06779f89b.tar.zst forge-8278e48a29cab0eeae226da9a02558a06779f89b.zip |
repo_commit: Add TODO to prepend "+"/"-"/" "
Diffstat (limited to '')
-rw-r--r-- | handle_repo_commit.go | 1 |
1 files changed, 1 insertions, 0 deletions
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() |