diff --git a/commit.c b/commit.c
index a6c6f70a9237385d163ea12ef28e5087e9f80411..5ade8edf81cb887f425b1e15b4f02a2e25af9a02 100644 (file)
--- a/commit.c
+++ b/commit.c
#include "utf8.h"
#include "diff.h"
#include "revision.h"
+#include "notes.h"
int save_commit_buffer = 1;
else {
if (write_in_full(fd, hex, 40) != 40)
break;
- if (write_in_full(fd, "\n", 1) != 1)
+ if (write_str_in_full(fd, "\n") != 1)
break;
}
}