Merge pull request #3823 from libgit2/ethomson/checkout_no_index checkout: use empty baseline when no index file exists