commit | cd294bc3f3a7b1277551a8c6e0682fdfbe794260 | [log] [tgz] |
---|---|---|
author | Johannes Sixt <j6t@kdbg.org> | Thu Apr 23 15:49:05 2009 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Apr 24 01:29:28 2009 -0700 |
tree | c1c00a925c499147d919d70075abab042579ec66 | |
parent | 178b513eb78ac8099588c5bed1f1f74f660cf009 [diff] |
remote.c: do not trigger remote.<name>.<var> codepath for two-level names If the config file contains a section like this: [remote] default = foo (it should be '[remotes]') then commands like git status git checkout git branch -v fail even though they are not obviously related to remotes. (These commands write "ahead, behind" information and, therefore, access the per-remote information). Unknown configuration keys should be ignored, not trigger errors. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>