Conditionally allow specifying -j; default to -j2
Junio C Hamano committed
May 18, 2006 at 00:40 UTC
cb71bc83592a6475241d78f054aefb75144d74f2
1 file changed
+1
-1
Doit
+1
-1
index e10e32e230..49b3ebe37e 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."