Commit e4031cb53134803bfc94f1b0b8552455658d8c76

Tim Clem 2012-06-15T09:26:56

Kill message_prettify - we will export instead

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/commit.c b/src/commit.c
index 95e3986..a87639a 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -114,10 +114,6 @@ int git_commit_create(
 
 	git_buf_putc(&commit, '\n');
 
-	/* Remove comments by default */
-	if (git_message_prettify(&cleaned_message, message, 0) < 0)
-		goto on_error;
-
 	if (git_buf_puts(&commit, git_buf_cstr(&cleaned_message)) < 0)
 		goto on_error;