diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-08-21 18:04:25 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-08-27 21:31:19 +0400 |
commit | c9ffa84bde45021c40623553822916fb3d13b20a (patch) | |
tree | 3aa7e9f943e2e8b7196df8d0ed326d42f3e68b26 /tests-clar/resources | |
parent | ece24ef7c4bb31eb2c715948bcf6dff6ed9d7dfc (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/config | 4 |
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 |