aboutsummaryrefslogtreecommitdiff
path: root/handle_repo_commit.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-11 21:33:48 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-11 21:33:48 +0800
commit2159ed2cc629ae30d6bb020f67e301dedf779dd4 (patch)
tree65f6ca9f18b265621746c7147132014362dee9c5 /handle_repo_commit.go
parentrepo_commit: Show chunks (diff)
downloadforge-2159ed2cc629ae30d6bb020f67e301dedf779dd4.tar.gz
forge-2159ed2cc629ae30d6bb020f67e301dedf779dd4.tar.zst
forge-2159ed2cc629ae30d6bb020f67e301dedf779dd4.zip
repo_commit: Properly format patchsets
Diffstat (limited to '')
-rw-r--r--handle_repo_commit.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/handle_repo_commit.go b/handle_repo_commit.go
index 3a63201..4660ff3 100644
--- a/handle_repo_commit.go
+++ b/handle_repo_commit.go
@@ -45,6 +45,7 @@ func handle_repo_commit(w http.ResponseWriter, r *http.Request) {
}
data["patch"] = patch
+ // TODO: Remove unnecessary context
usable_file_patches := make([]usable_file_patch, 0)
for _, file_patch := range patch.FilePatches() {
from, to := file_patch.Files()