From 3aae548374b0ca19b9e14c30a1ca6790251cc1db Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 15 Feb 2025 10:23:08 +0800 Subject: *.go: Reformat --- http_handle_repo_commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http_handle_repo_commit.go') diff --git a/http_handle_repo_commit.go b/http_handle_repo_commit.go index 8e5cdbf..0eb6bb4 100644 --- a/http_handle_repo_commit.go +++ b/http_handle_repo_commit.go @@ -76,7 +76,7 @@ func handle_repo_commit(w http.ResponseWriter, r *http.Request, params map[strin to = fake_diff_file_null } chunks := []usable_chunk{} - for _, chunk := range file_patch.Chunks() { + for _, chunk := range file_patch.Chunks() { content := chunk.Content() if len(content) > 0 && content[0] == '\n' { content = "\n" + content -- cgit v1.2.3