summaryrefslogtreecommitdiff
path: root/doc/todo/headless_git_branches.mdwn
blob: 8a1e68201e1b1ea6061d8cb44ad363aed12eb1b7 (plain)

Ikiwiki should really survive being asked to work with a git branch that has no existing commits.

mkdir iki-gittest
cd iki-gittest
GIT_DIR=barerepo.git git init
git clone barerepo.git srcdir
ikiwiki --rcs=git srcdir destdir

I've fixed this initial construction case, and, based on my testing, I've also fixed the post-update executing on a new master, and ikiwiki.cgi executing on a non-existent master cases. Unfortunately these cases still generate a lot of warnings from recentchanges; I suspect a much more invasive patch would be needed to shut those up.

Please commit so my users stop whining at me about having clean branches to push to, the big babies.

Summary: Change three scary loud failure cases related to empty branches into three scary loud success cases.