From: Junio C Hamano Date: Thu, 18 May 2006 07:40:33 +0000 (-0700) Subject: Conditionally allow specifying -j; default to -j2 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=cb71bc83592a6475241d78f054aefb75144d74f2;p=git.git Conditionally allow specifying -j; default to -j2 --- diff --git a/Doit b/Doit index e10e32e2..49b3ebe3 100755 --- a/Doit +++ b/Doit @@ -1,6 +1,6 @@ #!/bin/sh -J= +: ${J=-j2} test -z "$(git diff --cached --name-status)" || { echo >&2 "Repository unclean."