Merge branch 'jk/fix-alias-pager-config-key-warnings' into maint
commitfa6d3749edce0a5ba8c9150f984cc307e0092d0d
authorJunio C Hamano <gitster@pobox.com>
Fri, 4 Sep 2015 02:17:52 +0000 (3 19:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Sep 2015 02:17:52 +0000 (3 19:17 -0700)
tree3ca97911ade88435507d1151fb5885087ccf7f55
parent0b2cef2805a02a9db4a3ba01004dd767af97c692
parent9e9de18f1ad39901a8f0c67f0af70d66d427e326
Merge branch 'jk/fix-alias-pager-config-key-warnings' into maint

Because the configuration system does not allow "alias.0foo" and
"pager.0foo" as the configuration key, the user cannot use '0foo'
as a custom command name anyway, but "git 0foo" tried to look these
keys up and emitted useless warnings before saying '0foo is not a
git command'.  These warning messages have been squelched.

* jk/fix-alias-pager-config-key-warnings:
  config: silence warnings for command names with invalid keys
cache.h
config.c
pager.c
t/t7006-pager.sh