]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - ikiwiki-makerepo
git: Attribute reverts to the user doing the revert, not the wiki itself
[git.ikiwiki.info.git] / ikiwiki-makerepo
index c3a13c214330e32fe9473f6891608b6b53872f85..f1c44067ec77648b84d3ed954c61e5560a003f6f 100755 (executable)
@@ -85,6 +85,12 @@ git)
 
        cd "$srcdir"
        git init
 
        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
        git add .
        git commit -m "initial commit"
        echo /.ikiwiki > .gitignore
        git add .
        git commit -m "initial commit"