hlibgit2 0.17.0.6 → 0.17.0.7
raw patch · 2 files changed
+6/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- hlibgit2.cabal +1/−1
- libgit2/src/commit.c +5/−0
hlibgit2.cabal view
@@ -1,5 +1,5 @@ Name: hlibgit2-Version: 0.17.0.6+Version: 0.17.0.7 Synopsis: Low-level bindings to libgit2 Description: Bindings to libgit2 v0.17.0. License-file: LICENSE
libgit2/src/commit.c view
@@ -179,6 +179,7 @@ git_buf_putc(&commit, '\n'); +#if 0 /* Remove comments by default */ if (git_message_prettify(&cleaned_message, message, 1) < 0) goto on_error;@@ -187,6 +188,10 @@ goto on_error; git_buf_free(&cleaned_message);+#else+ if (git_buf_puts(&commit, message) < 0)+ goto on_error;+#endif if (git_repository_odb__weakptr(&odb, repo) < 0) goto on_error;