diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-07-11 19:03:38 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-07-12 12:11:22 +0200 |
| commit | 0d98af0911ebf55ba64cc0c9e17a3d450c77a9be (patch) | |
| tree | 349d805b73f3cdb1da9477db1022ddd3798c4076 /tests/submodule | |
| parent | 8a52ed7a482935c74dbb24358e21811dfa6d91c2 (diff) | |
| download | libgit2-0d98af0911ebf55ba64cc0c9e17a3d450c77a9be.tar.gz | |
blob: fail to create a blob from a dir with EDIRECTORY
This also affects `git_index_add_bypath()` by providing a better error
message and a specific error code when a directory is passed.
Diffstat (limited to 'tests/submodule')
| -rw-r--r-- | tests/submodule/add.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/submodule/add.c b/tests/submodule/add.c index 01625d3aa..c3b3e6364 100644 --- a/tests/submodule/add.c +++ b/tests/submodule/add.c @@ -4,6 +4,7 @@ #include "submodule_helpers.h" #include "config/config_helpers.h" #include "fileops.h" +#include "repository.h" static git_repository *g_repo = NULL; |
