Conditionally allow specifying -j; default to -j2

todo
Junio C Hamano 2006-05-18 00:40:33 -07:00
parent a525de7ea7
commit cb71bc8359
1 changed files with 1 additions and 1 deletions

2
Doit
View File

@ -1,6 +1,6 @@
#!/bin/sh

J=
: ${J=-j2}

test -z "$(git diff --cached --name-status)" || {
echo >&2 "Repository unclean."