[geany/geany-plugins] efcd27: git-changebar: Lower libgit2 dependency to 0.18
Colomban Wendling
git-noreply at xxxxx
Mon Feb 16 15:42:37 UTC 2015
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Mon, 16 Feb 2015 15:42:37 UTC
Commit: efcd274ebf234565dfb51986e9c13bf17b8308cb
https://github.com/geany/geany-plugins/commit/efcd274ebf234565dfb51986e9c13bf17b8308cb
Log Message:
-----------
git-changebar: Lower libgit2 dependency to 0.18
Modified Paths:
--------------
build/git-changebar.m4
git-changebar/src/gcb-plugin.c
Modified: build/git-changebar.m4
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -5,7 +5,7 @@ AC_DEFUN([GP_CHECK_GITCHANGEBAR],
GP_CHECK_PLUGIN_DEPS([GitChangeBar], [GITCHANGEBAR],
[$GP_GTK_PACKAGE >= 2.18
glib-2.0
- libgit2])
+ libgit2 >= 0.18])
GP_COMMIT_PLUGIN_STATUS([GitChangeBar])
Modified: git-changebar/src/gcb-plugin.c
3 lines changed, 1 insertions(+), 2 deletions(-)
===================================================================
@@ -514,7 +514,7 @@ diff_blob_to_doc (const git_blob *old_blob,
void *payload)
{
ScintillaObject *sci = doc->editor->sci;
- git_diff_options opts;
+ git_diff_options opts = GIT_DIFF_OPTIONS_INIT;
gchar *buf;
size_t len;
gboolean free_buf = FALSE;
@@ -530,7 +530,6 @@ diff_blob_to_doc (const git_blob *old_blob,
}
/* no context lines, and no need to bother about binary checks */
- git_diff_init_options (&opts, GIT_DIFF_OPTIONS_VERSION);
opts.context_lines = 0;
opts.flags = GIT_DIFF_FORCE_TEXT;
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list