summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/email.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/email.c b/src/email.c
index 8957d9a38..df63b6ec3 100644
--- a/src/email.c
+++ b/src/email.c
@@ -217,7 +217,6 @@ int git_email__append_from_diff(
memcpy(&opts, given_opts, sizeof(git_email_create_options));
git_buf_sanitize(out);
- git_buf_clear(out);
if ((error = append_header(out, patch_idx, patch_count, commit_id, summary, author, &opts)) == 0 &&
(error = append_body(out, body)) == 0 &&