Conditionally allow specifying -j; default to -j2
[git.git] / 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."