Matthieu Moy
b8612b4da4
config: refactor management of color.ui's default value
...
The meaning of get_colorbool_found and get_diff_color_found is "the
config value if found, and -1 otherwise", but get_color_ui_found had a
slightly different meaning, as it has the value 0 (which corresponds to
the default value from the user point of view) when color.ui is unset.
Make get_color_ui_found default to -1, and make it explicit that 0 is the
default value when nothing else is found.
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2013-05-15 11:02:19 -07:00
..
2013-03-11 07:57:35 -07:00
2013-04-22 11:26:56 -07:00
2012-08-22 12:02:28 -07:00
2012-08-20 12:23:15 -07:00
2013-04-17 14:50:45 -07:00
2013-03-26 12:43:05 -07:00
2013-04-17 14:48:45 -07:00
2012-09-17 15:59:34 -07:00
2013-02-19 14:00:12 -08:00
2012-08-22 12:02:28 -07:00
2012-11-15 17:36:26 -08:00
2013-01-23 21:19:10 -08:00
2013-02-25 08:03:27 -08:00
2012-08-20 12:23:16 -07:00
2013-02-19 09:30:50 -08:00
2013-05-15 11:02:19 -07:00
2012-08-20 12:23:16 -07:00
2013-04-03 09:25:52 -07:00
2012-11-02 11:38:29 -04:00
2012-11-20 10:32:10 -08:00
2013-04-12 11:48:38 -07:00
2013-01-26 19:37:30 -08:00
2013-02-01 12:40:16 -08:00
2013-04-26 11:10:47 -07:00
2012-09-07 11:09:09 -07:00
2012-08-20 12:23:17 -07:00
2012-09-27 17:57:26 -07:00
2013-04-03 09:18:01 -07:00
2012-08-20 12:23:17 -07:00
2013-02-04 10:24:50 -08:00
2013-04-04 13:00:41 -07:00
2012-08-20 12:23:17 -07:00
2013-01-20 17:06:53 -08:00
2013-01-23 21:19:10 -08:00
2012-09-07 10:58:35 -07:00
2012-11-19 13:08:28 -08:00
2012-12-07 14:10:56 -08:00
2013-03-02 22:52:44 -08:00
2012-09-11 11:36:05 -07:00
2012-08-20 12:23:18 -07:00
2012-12-09 23:05:27 -08:00
2013-03-27 10:00:50 -07:00
2013-04-24 16:14:06 -07:00
2012-08-20 12:23:18 -07:00
2012-08-20 12:23:18 -07:00
2012-08-20 12:23:18 -07:00
2013-01-16 12:48:22 -08:00
2012-10-25 06:42:27 -04:00
2012-12-13 11:13:44 -08:00
2012-08-20 12:23:19 -07:00
2012-08-20 12:23:19 -07:00
2013-04-03 08:43:03 -07:00
2013-02-04 10:25:04 -08:00
2012-08-20 12:23:19 -07:00
2013-04-26 11:12:17 -07:00
2013-03-26 12:39:51 -07:00
2013-04-24 13:12:51 -07:00
2012-11-13 08:34:14 -05:00
2012-08-20 12:23:19 -07:00
2013-01-16 12:50:23 -08:00
2012-10-29 03:08:30 -04:00
2012-09-12 14:08:05 -07:00
2013-04-24 09:48:01 -07:00
2012-11-29 12:52:30 -08:00
2013-01-24 14:37:23 -08:00
2013-01-20 17:06:53 -08:00
2013-04-06 18:57:15 -07:00
2012-10-25 06:42:27 -04:00
2013-01-16 12:48:22 -08:00
2012-10-21 12:17:38 -07:00
2013-04-03 09:24:51 -07:00
2013-02-23 23:49:33 -08:00
2012-08-22 12:02:28 -07:00
2012-08-22 10:58:29 -07:00
2012-08-22 10:58:29 -07:00
2013-02-14 09:30:04 -08:00
2012-08-22 10:58:29 -07:00