#!/bin/sh# Stands in for the cgit binary when the suite runs with --valgrind, which is# when setup.sh puts this directory ahead of the build on PATH. Git's own# suppression file is reused rather than kept in a copy here, so GIT_VALGRIND# points into the bundled Git tree while CGIT_VALGRIND points back at this# wrapper's home.exec valgrind -q --error-exitcode=126 \
--suppressions="$GIT_VALGRIND/default.supp" \
--gen-suppressions=all \
--leak-check=no \
--track-origins=yes \
--log-fd=4 \
--input-fd=4 \
"$CGIT_VALGRIND/../../build/cgit""$@"