aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorRubén Justo <rjusto@gmail.com>2024-07-11 23:10:51 +0900
committerJunio C Hamano <gitster@pobox.com>2024-07-11 08:37:44 -0700
commit8c1d6691bc514e2c1c01a807e872b5dddcb2485b (patch)
treedf7132bbc2c5334255dc54ae82bafc51676ba229 /commit.c
parenttest-lib: fix GIT_TEST_SANITIZE_LEAK_LOG (diff)
downloadgit-8c1d6691bc514e2c1c01a807e872b5dddcb2485b.tar.gz
git-8c1d6691bc514e2c1c01a807e872b5dddcb2485b.zip
test-lib: GIT_TEST_SANITIZE_LEAK_LOG enabled by default
As we currently describe in t/README, it can happen that: Some tests run "git" (or "test-tool" etc.) without properly checking the exit code, or git will invoke itself and fail to ferry the abort() exit code to the original caller. Therefore, GIT_TEST_SANITIZE_LEAK_LOG=true is needed to be set to capture all memory leaks triggered by our tests. It seems unnecessary to force users to remember this option, as forgetting it could lead to missed memory leaks. We could solve the problem by making it "true" by default, but that might suggest we think "false" makes sense, which isn't the case. Therefore, the best approach is to remove the option entirely while maintaining the capability to detect memory leaks in blind spots of our tests. Signed-off-by: Rubén Justo <rjusto@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
tions'>-2/+2 2008-01-18Include rev-list options in git-log manpage.Miklos Vajna3-376/+365 2008-01-18http-push: disable http-push without USE_CURL_MULTIGrégoire Barbier1-0/+4 2008-01-18send-email: add no-validate optionJeff King2-3/+19 2008-01-18send-email: validate patches before sending anythingJeff King2-0/+37 2008-01-18send-email: detect invocation errors earlierJeff King1-28/+27 2008-01-18fast-import: Don't use a maybe-clobbered errno valueJim Meyering1-3/+6 2008-01-18Move sha1_file_to_archive into libgitLars Hjemli3-81/+85 2008-01-18color unchanged lines as "plain" in "diff --color-words"Jeff King1-5/+5 2008-01-17autoconf: Add checking for unsetenv functionJakub Narebski3-0/+9 2008-01-17core-tutorial typofixThomas Zander1-1/+1 2008-01-17Officially deprecate repo-config.Junio C Hamano9-20/+25 2008-01-17Fix random fast-import errors when compiled with NO_MMAPShawn O. Pearce3-2/+21 2008-01-17fast-import.c: don't try to commit marks file if write failedBrandon Casey1-8/+16 2008-01-17git-gui: Makefile - Handle $DESTDIR on CygwinMark Levedahl1-2/+3