Merge branch 'nd/conditional-config-include'
authorJunio C Hamano <gitster@pobox.com>
Mon, 24 Apr 2017 05:07:46 +0000 (22:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Apr 2017 05:07:46 +0000 (22:07 -0700)
commita2e2c046833be53e7599ee7fed5c45f16580ab37
tree0ea4faab2f6b99ac0cbbfebdd1e4f35ac7eff622
parent4c01f67d9102942cc7f0a737de4c609a6ac1832e
parent86f951570839e241cfa8effbe195674193693a7f
Merge branch 'nd/conditional-config-include'

$GIT_DIR may in some cases be normalized with all symlinks resolved
while "gitdir" path expansion in the pattern does not receive the
same treatment, leading to incorrect mismatch.  This has been fixed.

* nd/conditional-config-include:
  config: resolve symlinks in conditional include's patterns
  path.c: and an option to call real_path() in expand_user_path()
builtin/commit.c
builtin/config.c
cache.h
config.c
credential-cache.c
path.c