]> git.proxmox.com Git - libgit2.git/commit
checkout: use empty baseline when no index
authorEdward Thomson <ethomson@github.com>
Wed, 15 Jun 2016 20:47:28 +0000 (15:47 -0500)
committerEdward Thomson <ethomson@github.com>
Wed, 15 Jun 2016 20:47:28 +0000 (15:47 -0500)
commitbb0bd71ab4f404509aefa3be923916e886c9d25d
tree4c78ae017a7090f3d4af25c2641e673fcc737ae8
parentabb6f72aaacd4edb4131d1bdb8d0965bd189ee82
checkout: use empty baseline when no index

When no index file exists and a baseline is not explicitly provided, use
an empty baseline instead of trying to load `HEAD`.
src/checkout.c
tests/checkout/tree.c