summaryrefslogtreecommitdiffstats
path: root/subsurface-core/save-git.c
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/save-git.c')
-rw-r--r--subsurface-core/save-git.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/subsurface-core/save-git.c b/subsurface-core/save-git.c
index 69ad0726d..d3601a272 100644
--- a/subsurface-core/save-git.c
+++ b/subsurface-core/save-git.c
@@ -445,6 +445,11 @@ int report_error(const char *fmt, ...)
return -1;
}
+void report_message(const char *msg)
+{
+ (void)report_error("%s", msg);
+}
+
/*
* libgit2 has a "git_treebuilder" concept, but it's broken, and can not
* be used to do a flat tree (like the git "index") nor a recursive tree.