From: Junio C Hamano Date: Wed, 18 Oct 2017 02:56:31 +0000 (+0900) Subject: Meta/Dothem: make --memtrash configurable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d32db97b023fef9fb126b05dd34d6962de83822c;p=thirdparty%2Fgit.git Meta/Dothem: make --memtrash configurable --- diff --git a/Dothem b/Dothem index c5d4c387ff..ce467d7417 100755 --- a/Dothem +++ b/Dothem @@ -17,7 +17,7 @@ inst_prefix=$( ) force= with_dash= test_long= M= install= nodoc= notest= bootstrap= branches= jobs= -scratch= noprove= +scratch= noprove= memtrash=--memtrash while case "$1" in --pedantic | --locale=* | --loose) M="$M $1" ;; --force) force=$1 ;; @@ -26,6 +26,8 @@ while case "$1" in --noinstall) install=noinstall ;; --nodoc) nodoc=y ;; --notest) notest=y ;; + --nomemtrash) memtrash= ;; + --memtrash) memtrash=--memtrash ;; --test=*) test="$1" ;; --scratch) scratch=y ;; --bootstrap) bootstrap=y ;; @@ -196,7 +198,7 @@ do save=$(git rev-parse HEAD) && - Meta/Make $M $noprove ${test+"$test"} $jobs $test_long --memtrash \ + Meta/Make $M $noprove ${test+"$test"} $jobs $test_long $memtrash \ -- ${with_dash:+SHELL_PATH=/bin/dash} "$@" $dotest && {