]> git.proxmox.com Git - libgit2.git/commit
Test submodules with empty index or orphaned head
authorRussell Belfer <rb@github.com>
Fri, 28 Jun 2013 05:29:05 +0000 (22:29 -0700)
committerRussell Belfer <rb@github.com>
Fri, 28 Jun 2013 05:29:05 +0000 (22:29 -0700)
commit1e9dd60f141cbe0c0eecf2628f7dd6f67d185b8d
treef007044f83a959d38dba6fb441bd13d6d23ac366
parentd0c36a0baf42d751c23e13df08c7ec9f800dd40f
Test submodules with empty index or orphaned head

In both of these cases, the submodule data should still be loaded
just (obviously) without the data that comes from either the index
or the HEAD.

This fixes a bug in the orphaned head case.
src/submodule.c
tests-clar/submodule/lookup.c