| author | Linus Torvalds <torvalds@linux-foundation.org> | |
| Wed, 18 Jun 2008 21:37:18 +0000 (14:37 -0700) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Wed, 18 Jun 2008 23:50:22 +0000 (16:50 -0700) | ||
| commit | 806e2ad7fe2d94e1ecae904c33b822b3dfac57f6 | |
| tree | 3fbfddd9c0ae8b509142ffca3f4f48c4b537dc3d | tree | snapshot |
| parent | e449f105805ffa49ccf7cf080db897ecf65a1a0f | commit | diff |
Split up default "core" config parsing into helper routine
It makes the code a bit easier to read, and in theory a bit faster too
(no need to compare all the different "core.*" strings against non-core
config options).
The config system really should get something of a complete overhaul,
but in the absense of that, this at least improves on it a tiny bit.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
It makes the code a bit easier to read, and in theory a bit faster too
(no need to compare all the different "core.*" strings against non-core
config options).
The config system really should get something of a complete overhaul,
but in the absense of that, this at least improves on it a tiny bit.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| config.c | diff | blob | history |