summaryrefslogtreecommitdiff
path: root/doc/todo/headless_git_branches.mdwn
blob: 280405730f27bc4be1cba0fded7b511c84aceec6 (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.

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 mostly quiet success cases.

[[!tag patch]]