We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25cd431 commit fe611b8Copy full SHA for fe611b8
t/t0210-trace2-normal.sh
@@ -244,6 +244,14 @@ test_expect_success 'bug messages followed by BUG() are written to trace2' '
244
test_cmp expect actual
245
'
246
247
+test_expect_success 'empty configuration values are handled' '
248
+ test_when_finished "rm trace2.normal actual expect" &&
249
+ echo >expect &&
250
+ GIT_TRACE2="$(pwd)/trace2.normal" GIT_TRACE2_CONFIG_PARAMS=foo.empty \
251
+ git -c foo.empty config foo.empty >actual &&
252
+ test_cmp expect actual
253
+'
254
+
255
sane_unset GIT_TRACE2_BRIEF
256
257
# Now test without environment variables and get all Trace2 settings
0 commit comments