summaryrefslogtreecommitdiffstats
path: root/core/macos.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-09 17:03:43 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-09 17:05:44 -0700
commit7a238b614685ce7d85b1a7564871e72c960bad89 (patch)
treec26660bce37d2912df3533a13ace7d1e9589789b /core/macos.c
parent67a717dc057a5936ae1f5820fc6c470524213b97 (diff)
downloadsubsurface-7a238b614685ce7d85b1a7564871e72c960bad89.tar.gz
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 <dirk@hohndel.org>
Diffstat (limited to 'core/macos.c')
-rw-r--r--core/macos.c6
1 files changed, 0 insertions, 6 deletions
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 <zip.h>
#include <sys/stat.h>
-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