]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - ikiwiki-makerepo
inadvertent improvement
[git.ikiwiki.info.git] / ikiwiki-makerepo
index 6951ca0de98f79d9d782ceaf0a772d0900ac6132..f1c44067ec77648b84d3ed954c61e5560a003f6f 100755 (executable)
@@ -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"