alias: compare alias name *case-insensitively*
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 14 Jul 2017 08:39:38 +0000 (10:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Jul 2017 21:00:12 +0000 (14:00 -0700)
commit643df7e234dda47a4748311361a82df5415b7bc1
tree46d12d02e9e96cbcbc3a3e606a49b2132b7d883b
parent084b04409312e8d95aa51edb04dde7ff56f66fba
alias: compare alias name *case-insensitively*

It is totally legitimate to add CamelCased aliases, but due to the way
config keys are compared, the case does not matter.

Therefore, we must compare the alias name insensitively to the config
keys.

This fixes a regression introduced by a9bcf6586d1 (alias: use
the early config machinery to expand aliases, 2017-06-14).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
alias.c
t/t1300-repo-config.sh