]> git.proxmox.com Git - libgit2.git/commit - tests/libgit2/network/remote/remotes.c
remote: allow querying for refspecs
authorCarlos Martín Nieto <cmn@dwim.me>
Sat, 20 Apr 2013 16:49:11 +0000 (18:49 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Sat, 20 Apr 2013 17:45:40 +0000 (19:45 +0200)
commitbc6374eac485ab9ad9cfd7165b6d071c3dcb673a
tree8ba82d9d64953384895afb1e26a33c3c7d5c6832
parent4330ab26b53c0e1bf8cbb5e65704f65e3d116eba
remote: allow querying for refspecs

Introduce git_remote_{fetch,push}_refspecs() to get a list of refspecs
from the remote and rename the refspec-adding functions to a less
silly name.

Use this instead of the vector index hacks in the tests.
include/git2/remote.h
src/clone.c
src/remote.c
tests-clar/network/remote/remotes.c
tests-clar/online/fetchhead.c
tests-clar/refs/branches/remote.c