summaryrefslogtreecommitdiff
path: root/tests/submodule/submodule_helpers.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-11-04 16:16:51 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2015-11-04 16:53:41 -0500
commit790012ce782e2b97e90e52ae9fdaff098b56b999 (patch)
tree1210a2cf045a0f74fc31b63b4e0590a395110c28 /tests/submodule/submodule_helpers.h
parent610e553f5b43b4741b5c74d77cc1e07c88749bfc (diff)
downloadlibgit2-790012ce782e2b97e90e52ae9fdaff098b56b999.tar.gz
submodule: test updating a submodule w/ a path
Test that `git_submodule_update` can handle a submodule that is freshly cloned and has a path differing from its name.
Diffstat (limited to 'tests/submodule/submodule_helpers.h')
-rw-r--r--tests/submodule/submodule_helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/submodule/submodule_helpers.h b/tests/submodule/submodule_helpers.h
index 1191ab35b..42b14a7bc 100644
--- a/tests/submodule/submodule_helpers.h
+++ b/tests/submodule/submodule_helpers.h
@@ -5,6 +5,7 @@ extern git_repository *setup_fixture_submodules(void);
extern git_repository *setup_fixture_submod2(void);
extern git_repository *setup_fixture_submodule_simple(void);
extern git_repository *setup_fixture_super(void);
+extern git_repository *setup_fixture_submodule_with_path(void);
extern unsigned int get_submodule_status(git_repository *, const char *);