diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-11 21:33:48 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-11 21:33:48 +0800 |
commit | 2159ed2cc629ae30d6bb020f67e301dedf779dd4 (patch) | |
tree | 65f6ca9f18b265621746c7147132014362dee9c5 /handle_repo_commit.go | |
parent | repo_commit: Show chunks (diff) | |
download | forge-2159ed2cc629ae30d6bb020f67e301dedf779dd4.tar.gz forge-2159ed2cc629ae30d6bb020f67e301dedf779dd4.tar.zst forge-2159ed2cc629ae30d6bb020f67e301dedf779dd4.zip |
repo_commit: Properly format patchsets
Diffstat (limited to 'handle_repo_commit.go')
-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 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() |