aboutsummaryrefslogtreecommitdiff
path: root/git_format_patch.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-19 11:20:24 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-19 11:20:24 +0800
commit54926a719de46b3c359f2f7ce3c29ff4fe55397b (patch)
treeb81028ae83c949807313a54296bf6d0b59bea8a0 /git_format_patch.go
parentRemove underscores from Go code, pt 2 (diff)
downloadforge-54926a719de46b3c359f2f7ce3c29ff4fe55397b.tar.gz
forge-54926a719de46b3c359f2f7ce3c29ff4fe55397b.tar.zst
forge-54926a719de46b3c359f2f7ce3c29ff4fe55397b.zip
Remove underscores from Go code, pt 3
Diffstat (limited to 'git_format_patch.go')
-rw-r--r--git_format_patch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_format_patch.go b/git_format_patch.go
index 3533eca..56474d2 100644
--- a/git_format_patch.go
+++ b/git_format_patch.go
@@ -21,7 +21,7 @@ func fmtCommitPatch(commit *object.Commit) (final string, err error) {
var date string
var commitTitle, commitDetails string
- if _, patch, err = get_patch_from_commit(commit); err != nil {
+ if _, patch, err = fmtCommitAsPatch(commit); err != nil {
return "", err
}