git/builtin
Denton Liu 46273df7bf format-patch: replace erroneous and condition
Commit 30984ed2e9 (format-patch: support deep threading, 2009-02-19),
introduced the following lines:

	#define THREAD_SHALLOW 1

	[...]

	thread = git_config_bool(var, value) && THREAD_SHALLOW;

Since git_config_bool() returns a bool, the trailing `&& THREAD_SHALLOW`
is a no-op. Replace this errorneous and condition with a ternary
statement so that it is clear what the configured value is when a
boolean is given.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-10-16 10:26:42 +09:00
..
2019-07-09 15:25:44 -07:00
2019-07-19 11:30:20 -07:00
2019-07-09 15:25:34 -07:00
2019-07-25 13:59:22 -07:00
2019-01-29 12:47:54 -08:00
2019-04-25 16:41:12 +09:00
2019-05-19 16:45:35 +09:00
2018-10-19 13:34:02 +09:00
2019-07-19 11:30:23 -07:00
2019-05-13 14:22:54 +09:00
2019-01-18 13:49:52 -08:00
2019-07-29 12:39:14 -07:00
2019-07-19 11:30:21 -07:00
2019-07-25 13:59:24 -07:00
2018-05-29 00:28:22 +09:00
2019-06-19 08:19:21 -07:00