X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/c36d2fa896e9ea42c0b6b0135ba04b4f4f60950f..344f831c2ea6050d10abe0a1d94a5616b9baa6e7:/ikiwiki-makerepo?ds=inline diff --git a/ikiwiki-makerepo b/ikiwiki-makerepo index aca8da153..f1c44067e 100755 --- a/ikiwiki-makerepo +++ b/ikiwiki-makerepo @@ -6,7 +6,7 @@ srcdir="$2" repository="$3" usage () { - echo "usage: ikiwiki-makerepo cvs|svn|git|monotone|darcs srcdir repository" >&2 + echo "usage: ikiwiki-makerepo svn|git|svn|monotone|darcs|cvs srcdir repository" >&2 echo " ikiwiki-makerepo bzr|mercurial srcdir" >&2 exit 1 } @@ -85,8 +85,13 @@ git) cd "$srcdir" git init + if [ -z "$(git config user.name)" ]; then + git config user.name IkiWiki + fi + if [ -z "$(git config user.email)" ]; then + git config user.email ikiwiki.info + fi echo /.ikiwiki > .gitignore - echo /recentchanges >> .gitignore git add . git commit -m "initial commit" git remote add origin "$repository"