commit | 178b513eb78ac8099588c5bed1f1f74f660cf009 | [log] [tgz] |
---|---|---|
author | Johannes Sixt <j6t@kdbg.org> | Thu Apr 23 15:49:06 2009 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Apr 24 01:29:13 2009 -0700 |
tree | b4f9cf9803ced33944d10620ca49bf7ab3ad0c9b | |
parent | 677fbff88f368ed6ac52438ddbb530166ec1d5d1 [diff] |
builtin-help: silently tolerate unknown keys If for some reason the config file contains a key without a subkey like [man] foo = bar then even a plain git help produces an error message. With this patch such an entry is ignored. Additionally, the warning about unknown sub-keys is removed. It could become annoying if new sub-keys are introduced in the future, and then the configuration is read by an old version of git that does not know about it. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>