Merge branch 'mm/config-edit-global' into jch
commit9dff18976a508366c406dc6651f9050db3d08eca
authorJunio C Hamano <gitster@pobox.com>
Thu, 21 Aug 2014 18:12:04 +0000 (21 11:12 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Aug 2014 18:12:04 +0000 (21 11:12 -0700)
tree45b194d1f4b4195bbd5fbefb101d531e3bf92af9
parent8e293ce1b8d9db5fd8965289e39e63f84c009426
parent8b27ff7eacc3bafcb12afcd6bbc99cdb8d718a26
Merge branch 'mm/config-edit-global' into jch

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
builtin/commit.c
builtin/config.c
cache.h
path.c