libgit2/tests/network/remote
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
..
createthenload.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
defaultbranch.c clone: correct handling of an unborn HEAD 2014-09-02 13:10:19 +02:00
delete.c remote: don't free the remote on delete 2014-06-06 22:55:34 +02:00
isvalidname.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
local.c git_remote_ls() should return an error if the transport is not available 2014-08-15 22:56:15 +02:00
remotes.c clone: handle overly restrictive refspecs 2014-09-02 13:23:54 +02:00
rename.c remote: failing test for renaming with a symref 2014-06-06 22:36:41 +02:00