diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-04-09 17:03:43 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-09 17:05:44 -0700 |
commit | 7a238b614685ce7d85b1a7564871e72c960bad89 (patch) | |
tree | c26660bce37d2912df3533a13ace7d1e9589789b /core/dive.h | |
parent | 67a717dc057a5936ae1f5820fc6c470524213b97 (diff) | |
download | subsurface-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/dive.h')
-rw-r--r-- | core/dive.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/dive.h b/core/dive.h index 1e5ca873d..acd0c7e72 100644 --- a/core/dive.h +++ b/core/dive.h @@ -322,12 +322,6 @@ extern int save_dive_sites_logic(const char *filename, const struct dive_site *s struct membuffer; extern void save_one_dive_to_mb(struct membuffer *b, struct dive *dive, bool anonymize); -struct user_info { - char *name; - char *email; -}; - -extern void subsurface_user_info(struct user_info *); extern void subsurface_console_init(void); extern void subsurface_console_exit(void); extern bool subsurface_user_is_root(void); |