mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
67a717dc05
commit
7a238b6146
7 changed files with 7 additions and 65 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue