libgit2/tests/repo
Carlos Martín Nieto 62a617dc68 iterator: submodules are determined by an index or tree
We cannot know from looking at .gitmodules whether a directory is a
submodule or not. We need the index or tree we are comparing against to
tell us. Otherwise we have to assume the entry in .gitmodules is stale
or otherwise invalid.

Thus we pass the index of the repository into the workdir iterator, even
if we do not want to compare against it. This follows what git does,
which even for `git diff <tree>`, it will consider staged submodules as
such.
2014-11-07 08:33:27 +01:00
..
config.c Better search path sandboxing 2014-05-15 10:56:28 -07:00
discover.c repository: move to use a git_buf for outputting strings 2014-01-27 04:44:05 +01:00
getters.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
hashfile.c Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04:00
head.c Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04:00
headtree.c Add reflog params to git_repository_detach_head 2014-02-04 20:50:40 -08:00
init.c Clean up some leaks in the test suite 2014-09-17 03:19:40 +02:00
iterator.c iterator: submodules are determined by an index or tree 2014-11-07 08:33:27 +01:00
message.c Fix some Windows warnings 2014-02-07 15:43:37 -08:00
open.c Better search path sandboxing 2014-05-15 10:56:28 -07:00
pathspec.c Fix compile error on Visual Studio 2014-05-27 23:36:07 +09:00
repo_helpers.c refs: remove the _with_log differentiation 2014-01-15 13:32:43 +01:00
repo_helpers.h Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
setters.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
shallow.c Improve error propagation in shallow call 2014-02-18 14:05:30 -08:00
state.c git_cherry_pick -> git_cherrypick 2014-07-22 10:40:23 -04:00