summaryrefslogtreecommitdiff
path: root/t/t2027-checkout-track.sh
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2020-11-25 22:12:56 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-11-25 15:04:55 -0800
commit483a6d9b5da6a03d34aceb7bff86b12c7241e17b (patch)
treeb939afafb482e824e83b0bc383a9b6abd0bce337 /t/t2027-checkout-track.sh
parentMerge branch 'ds/config-literal-value' into ds/maintenance-part-3 (diff)
downloadtgif-483a6d9b5da6a03d34aceb7bff86b12c7241e17b.tar.xz
maintenance: use 'git config --fixed-value'
When a repository's leading directories contain regex metacharacters, the config calls for 'git maintenance register' and 'git maintenance unregister' are not careful enough. Use the new --fixed-value option to direct the config machinery to use exact string matches. This is a more robust option than escaping these arguments in a piecemeal fashion. For the test, require that we are not running on Windows since the '+' and '*' characters are not allowed on that filesystem. Reported-by: Emily Shaffer <emilyshaffer@google.com> Reported-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2027-checkout-track.sh')
0 files changed, 0 insertions, 0 deletions