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
@@ -1,6 +1,6 @@
1
#!/bin/sh
2
3
-J=
3
+: ${J=-j2}
4
5
test -z "$(git diff --cached --name-status)" || {
6
echo >&2 "Repository unclean."