libgit2/tests/network
Carlos Martín Nieto 15c30b72e1 clone: handle overly restrictive refspecs
When the fetch refspec does not include the remote's default branch, it
indicates an error in user expectations or programmer error. Error out
in that case.

This lets us get rid of the dummy refspec which can never work as its
zeroed out. In the cases where we did not find a default branch, we set
HEAD detached immediately, which lets us refactor the "normal" path,
removing `found_branch`.
2014-09-02 13:23:54 +02:00
..
remote clone: handle overly restrictive refspecs 2014-09-02 13:23:54 +02:00
cred.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
fetchlocal.c clone: remote git_clone_into{,_local} from the public API 2014-07-02 07:05:00 +02:00
matchhost.c netops: unit-test the cert host-name pattern matching 2014-04-26 17:27:42 +02:00
refspecs.c Check if the refspec matches before transforming 2014-08-17 14:55:06 +02:00
urlparse.c netops: error out on url without a path 2014-07-03 02:34:32 +02:00