aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-09-02 13:23:19 -0700
committerJunio C Hamano <gitster@pobox.com>2014-09-02 13:23:20 -0700
commit1d8a6f6929054919baf4032e22935523c2843f2c (patch)
tree676ad7699612e6f200bad9647b15a07983b95247 /cache.h
parentc518279c0efbee88c31bb9916572ddfd9ac8eb00 (diff)
parent8b27ff7eacc3bafcb12afcd6bbc99cdb8d718a26 (diff)
downloadgit-1d8a6f6929054919baf4032e22935523c2843f2c.tar.gz
git-1d8a6f6929054919baf4032e22935523c2843f2c.tar.xz
Merge branch 'mm/config-edit-global'
Start "git config --edit --global" from a skeletal per-user configuration file contents, instead of a total blank, when the user does not already have any. This immediately reduces the need for a later "Have you forgotten setting core.user?" and we can add more to the template as we gain more experience. * mm/config-edit-global: commit: advertise config --global --edit on guessed identity home_config_paths(): let the caller ignore xdg path config --global --edit: create a template file if needed
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 30268b6ee..76be78508 100644
--- a/cache.h
+++ b/cache.h
@@ -1062,6 +1062,7 @@ extern const char *git_author_info(int);
extern const char *git_committer_info(int);
extern const char *fmt_ident(const char *name, const char *email, const char *date_str, int);
extern const char *fmt_name(const char *name, const char *email);
+extern const char *ident_default_name(void);
extern const char *ident_default_email(void);
extern const char *git_editor(void);
extern const char *git_pager(int stdout_is_tty);