Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2013-08-21 18:04:25 +0400
committernulltoken <emeric.fermas@gmail.com>2013-08-27 21:31:19 +0400
commitc9ffa84bde45021c40623553822916fb3d13b20a (patch)
tree3aa7e9f943e2e8b7196df8d0ed326d42f3e68b26 /tests-clar/resources
parentece24ef7c4bb31eb2c715948bcf6dff6ed9d7dfc (diff)
remote: Relax the parsing logic even more
In order to be loaded, a remote needs to be configured with at least a `url` or a `pushurl`. ENOTFOUND will be returned when trying to git_remote_load() a remote with neither of these entries defined.
Diffstat (limited to 'tests-clar/resources')
-rw-r--r--tests-clar/resources/testrepo.git/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests-clar/resources/testrepo.git/config b/tests-clar/resources/testrepo.git/config
index 1264f6ea7..dfab4eeb4 100644
--- a/tests-clar/resources/testrepo.git/config
+++ b/tests-clar/resources/testrepo.git/config
@@ -11,6 +11,10 @@
[remote "empty-remote-url"]
url =
pushurl =
+[remote "empty-remote-pushurl"]
+ pushurl =
+[remote "no-remote-url"]
+ fetch =
[remote "test_with_pushurl"]
url = git://github.com/libgit2/fetchlibgit2
pushurl = git://github.com/libgit2/pushlibgit2