"Derrick Stolee via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes: > +test_expect_success 'set all config with value_regex' ' > + q_to_tab >initial <<-\EOF && > + [abc] > + Qkey = one > + EOF > + > + cp initial .git/config && Not a new problem with this patch, but does the above pattern introduce potential problems? I am wondering if overwriting the config file with a little piece that has only the stuff the test is interested in, while wiping the parts that may be essential for repository integrity (e.g. "extensions.objectFormat"), is OK in the long run (brian cc'ed for his sha256 work). There also are autodetected crlf settings etc. that are in the .git/config when a test repository is created, and we probably would want to keep them intact.