From 18706a6e8377d0e0061b3d29562287d718b70f36 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 18 Mar 2025 20:45:22 +0800 Subject: Remove underscores from Go code, pt 2 --- 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 8f2204e..f9b7dc5 100644 --- a/http_handle_repo_commit.go +++ b/http_handle_repo_commit.go @@ -49,7 +49,7 @@ func handle_repo_commit(w http.ResponseWriter, r *http.Request, params map[strin } if commit_id_specified_string_without_suffix != commit_id_specified_string { var formatted_patch string - if formatted_patch, err = format_patch_from_commit(commit_object); err != nil { + if formatted_patch, err = fmtCommitPatch(commit_object); err != nil { http.Error(w, "Error formatting patch: "+err.Error(), http.StatusInternalServerError) return } -- cgit v1.2.3