diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-14 14:33:46 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-14 16:07:59 -0700 |
commit | a3aacfc6c2cbeccb81e18d6906fcc47cf01456a0 (patch) | |
tree | e5d5554cfd5883fbcf650e6a1bb041e1c8575ed9 /windows.c | |
parent | 7e1d8724c5e9800ade5590ff96d8290196755036 (diff) | |
download | subsurface-a3aacfc6c2cbeccb81e18d6906fcc47cf01456a0.tar.gz |
git-save: improve commit authorship data
We used to always just commit as "subsurface@hohndel.org" because
libgit-19 doesn't have the interfaces to do user name lookup. This does
better if you have libgit-20, using "git_signature_default()" to get the
actual user that does the saving.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'windows.c')
-rw-r--r-- | windows.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -14,6 +14,9 @@ const char system_divelist_default_font[] = "Sans"; const int system_divelist_default_font_size = 8; +void subsurface_user(struct user_info *user) +{ /* Encourage use of at least libgit2-0.20 */ } + const char *system_default_filename(void) { char datapath[MAX_PATH]; |