summaryrefslogtreecommitdiff
path: root/t/t4013/diff.format-patch_--stdout_initial..side
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2019-10-15 02:06:35 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-10-16 10:26:42 +0900
commit46273df7bfdd43e5f8a190d0a80a078ca55ce5ff (patch)
tree65038c10c03da9948c628f60b1df5b46b564f1ea /t/t4013/diff.format-patch_--stdout_initial..side
parentt4014: treat rev-list output as the expected value (diff)
downloadtgif-46273df7bfdd43e5f8a190d0a80a078ca55ce5ff.tar.xz
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>
Diffstat (limited to 't/t4013/diff.format-patch_--stdout_initial..side')
0 files changed, 0 insertions, 0 deletions