Duh. You're right. I forgot that `git_repository_set_workdir()` was tweaking the `is_bare` bit. Thanks for your :eyes: 

I'm going to drop the comments and give `LogCommit()` is a less terrible.