Conditionally allow specifying -j; default to -j2
authorJunio C Hamano <junkio@cox.net>
Thu, 18 May 2006 07:40:33 +0000 (00:40 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 18 May 2006 07:40:33 +0000 (00:40 -0700)
Doit

diff --git a/Doit b/Doit
index e10e32e..49b3ebe 100755 (executable)
--- a/Doit
+++ b/Doit
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-J=
+: ${J=-j2}
 
 test -z "$(git diff --cached --name-status)" || {
        echo >&2 "Repository unclean."