Merge branch 'ls/config-origin'
commitdd0f567f1041a3caea7856b3efe20f8fb9b487b5
authorJunio C Hamano <gitster@pobox.com>
Fri, 26 Feb 2016 21:37:17 +0000 (26 13:37 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Feb 2016 21:37:17 +0000 (26 13:37 -0800)
tree8bfc020a02b0b440a0540d3a050cce8c0b71cc4b
parent11529ecec914d2f0d7575e6d443c2d5a6ff75424
parent70bd879ab66aeee809306908e3551d50cdf06802
Merge branch 'ls/config-origin'

The configuration system has been taught to phrase where it found a
bad configuration variable in a better way in its error messages.
"git config" learnt a new "--show-origin" option to indicate where
the values come from.

* ls/config-origin:
  config: add '--show-origin' option to print the origin of a config value
  config: add 'origin_type' to config_source struct
  rename git_config_from_buf to git_config_from_mem
  t: do not hide Git's exit code in tests using 'nul_to_q'
Documentation/git-config.txt
cache.h
config.c