From 7a238b614685ce7d85b1a7564871e72c960bad89 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 9 Apr 2020 17:03:43 -0700 Subject: cloud-storage: simplify creation of git authorship While having the local user information in the repo on Linux seemed clever when we implemented it, it's inconsistent with all the other platforms. Let's just not do that unless the user has indeed set a global name/email pair for git. Instead indicate if this was Subsurface or Subsurface-mobile. Signed-off-by: Dirk Hohndel --- core/macos.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'core/macos.c') diff --git a/core/macos.c b/core/macos.c index dc07dc7b6..0ee7c1952 100644 --- a/core/macos.c +++ b/core/macos.c @@ -20,12 +20,6 @@ #include #include -void subsurface_user_info(struct user_info *info) -{ - UNUSED(info); - /* Nothing, let's use libgit2-20 on MacOS */ -} - /* macos defines CFSTR to create a CFString object from a constant, * but no similar macros if a C string variable is supposed to be * the argument. We add this here (hardcoding the default allocator -- cgit v1.2.3-70-g09d2