libgit2/src
Carlos Martín Nieto 4330ab26b5 remote: handle multiple refspecs
A remote can have a multitude of refspecs. Up to now our git_remote's
have supported a single one for each fetch and push out of simplicity
to get something working.

Let the remotes and internal code know about multiple remotes and get
the tests passing with them.

Instead of setting a refspec, the external users can clear all and add
refspecs. This should be enough for most uses, though we're still
missing a querying function.
2013-04-20 17:54:13 +02:00
..
amiga Added missing curly brackets and fixed compiler warnings. 2013-01-10 09:16:14 +01:00
hash Revert "hash: remove git_hash_init from internal api" 2013-02-26 01:08:34 +01:00
transports Allow git_remote_ls after disconnecting from the remote 2013-04-15 23:22:32 +02:00
unix Fix compilation on OpenBSD 2013-04-15 20:00:42 +02:00
win32 Fix whitespace in src/win32/version.h 2013-03-31 23:04:14 -04:00
xdiff Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
attr_file.c Notify '*' pathspec correctly when diffing 2013-04-11 09:59:26 +02:00
attr_file.h Notify '*' pathspec correctly when diffing 2013-04-11 09:59:26 +02:00
attr.c Implement global/system file search paths 2013-03-15 16:39:00 -07:00
attr.h Implement global/system file search paths 2013-03-15 16:39:00 -07:00
attrcache.h Implement global/system file search paths 2013-03-15 16:39:00 -07:00
blob.c Move crlf conversion into buf_text 2013-03-25 14:20:07 -07:00
blob.h update copyrights 2013-01-08 17:31:27 -06:00
branch.c remote: handle multiple refspecs 2013-04-20 17:54:13 +02:00
branch.h branch: rename 'tracking' to 'upstream' 2013-03-30 15:45:57 +01:00
bswap.h update copyrights 2013-01-08 17:31:27 -06:00
buf_text.c Move crlf conversion into buf_text 2013-03-25 14:20:07 -07:00
buf_text.h Move crlf conversion into buf_text 2013-03-25 14:20:07 -07:00
buffer.c update copyrights 2013-01-08 17:31:27 -06:00
buffer.h Add const to some buffer functions 2013-03-06 16:44:53 -08:00
cache.c update copyrights 2013-01-08 17:31:27 -06:00
cache.h update copyrights 2013-01-08 17:31:27 -06:00
cc-compat.h Fix gen_pktline format specifier for Win32 2013-01-22 09:25:15 -05:00
checkout.c checkout: use cache when possible to determine if workdir item is dirty 2013-04-17 10:52:49 -05:00
checkout.h update copyrights 2013-01-08 17:31:27 -06:00
clone.c remote: handle multiple refspecs 2013-04-20 17:54:13 +02:00
commit_list.c update copyrights 2013-01-08 17:31:27 -06:00
commit_list.h update copyrights 2013-01-08 17:31:27 -06:00
commit.c commit: correctly detect the start of the commit message 2013-04-15 12:24:08 +02:00
commit.h update copyrights 2013-01-08 17:31:27 -06:00
common.h Add git_has_win32_version helper 2013-03-31 22:22:33 -04:00
compress.c update copyrights 2013-01-08 17:31:27 -06:00
compress.h update copyrights 2013-01-08 17:31:27 -06:00
config_cache.c update copyrights 2013-01-08 17:31:27 -06:00
config_file.c config: allow setting multivars when none exist yet 2013-04-20 17:54:12 +02:00
config_file.h Implement config key validation rules 2013-01-29 12:15:18 -08:00
config.c Merge pull request #1417 from arrbee/opts-for-paths 2013-03-18 16:17:14 -07:00
config.h Implement global/system file search paths 2013-03-15 16:39:00 -07:00
crlf.c Move crlf conversion into buf_text 2013-03-25 14:20:07 -07:00
date.c Fix clang warnings and improve checks 2013-04-09 11:40:00 -07:00
delta-apply.c update copyrights 2013-01-08 17:31:27 -06:00
delta-apply.h update copyrights 2013-01-08 17:31:27 -06:00
delta.c update copyrights 2013-01-08 17:31:27 -06:00
delta.h Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
diff_output.c Tests and more fixes for submodule diffs 2013-04-09 14:52:32 -07:00
diff_output.h Fix MSVC compilation warnings 2013-02-05 20:33:27 +01:00
diff_tform.c Fix Windows/Win32 warning 2013-03-26 12:27:15 -07:00
diff.c Tests and more fixes for submodule diffs 2013-04-09 14:52:32 -07:00
diff.h Replace diff delta binary with flags 2013-02-20 15:10:21 -08:00
errors.c Fix valgrind issues (and mmap fallback for diff) 2013-03-14 13:50:54 -07:00
fetch.c remote: handle multiple refspecs 2013-04-20 17:54:13 +02:00
fetch.h update copyrights 2013-01-08 17:31:27 -06:00
fetchhead.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
fetchhead.h update copyrights 2013-01-08 17:31:27 -06:00
filebuf.c update copyrights 2013-01-08 17:31:27 -06:00
filebuf.h update copyrights 2013-01-08 17:31:27 -06:00
fileops.c Merge pull request #1417 from arrbee/opts-for-paths 2013-03-18 16:17:14 -07:00
fileops.h Switch search paths to classic delimited strings 2013-03-18 14:19:35 -07:00
filter.c Several warnings detected by static code analyzer fixed 2013-03-18 03:30:26 +04:00
filter.h Move crlf conversion into buf_text 2013-03-25 14:20:07 -07:00
fnmatch.c update copyrights 2013-01-08 17:31:27 -06:00
fnmatch.h update copyrights 2013-01-08 17:31:27 -06:00
global.c Switch search paths to classic delimited strings 2013-03-18 14:19:35 -07:00
global.h update copyrights 2013-01-08 17:31:27 -06:00
graph.c graph: make the ahead-behind docs clearer 2013-03-22 20:27:59 +01:00
hash.c update copyrights 2013-01-08 17:31:27 -06:00
hash.h Revert "hash: remove git_hash_init from internal api" 2013-02-26 01:08:34 +01:00
hashsig.c Make tree iterator handle icase equivalence 2013-03-08 16:39:57 -08:00
hashsig.h Refine pluggable similarity API 2013-02-20 15:09:41 -08:00
ignore.c Implement global/system file search paths 2013-03-15 16:39:00 -07:00
ignore.h Implement global/system file search paths 2013-03-15 16:39:00 -07:00
index.c Fix uninitialized var warnings 2013-04-18 14:59:25 -07:00
index.h Make iterator APIs consistent with standards 2013-03-06 16:52:01 -08:00
indexer.c Several warnings detected by static code analyzer fixed 2013-03-18 03:30:26 +04:00
iterator.c Fix workdir iterator leak 2013-04-18 16:13:52 -07:00
iterator.h Add filesystem iterator variant 2013-04-18 14:59:24 -07:00
khash.h Isolate khash inlines from global namespace 2012-07-12 11:49:15 -07:00
map.h update copyrights 2013-01-08 17:31:27 -06:00
merge.c update copyrights 2013-01-08 17:31:27 -06:00
merge.h update copyrights 2013-01-08 17:31:27 -06:00
message.c update copyrights 2013-01-08 17:31:27 -06:00
message.h update copyrights 2013-01-08 17:31:27 -06:00
mwindow.c Several warnings detected by static code analyzer fixed 2013-03-18 03:30:26 +04:00
mwindow.h update copyrights 2013-01-08 17:31:27 -06:00
netops.c Merge pull request #1298 from ben/user-at 2013-02-04 14:49:28 -08:00
netops.h Enhance url parsing to include passwords 2013-01-31 14:04:21 -08:00
notes.c Make iterator APIs consistent with standards 2013-03-06 16:52:01 -08:00
notes.h fixed minor issues with new note iterator 2013-03-06 22:36:19 +01:00
object.c object: Export git_object_dup 2013-04-10 16:56:32 +02:00
object.h object: Export git_object_dup 2013-04-10 16:56:32 +02:00
odb_loose.c update copyrights 2013-01-08 17:31:27 -06:00
odb_pack.c Several warnings detected by static code analyzer fixed 2013-03-18 03:30:26 +04:00
odb.c opts: allow configuration of odb cache size 2013-03-25 15:45:56 +01:00
odb.h update copyrights 2013-01-08 17:31:27 -06:00
offmap.h pack: introduce a delta base cache 2013-01-11 16:55:37 +01:00
oid.c oid: Do not parse OIDs longer than 40 2013-03-25 21:39:11 +01:00
oidmap.h update copyrights 2013-01-08 17:31:27 -06:00
pack-objects.c indexer: use a hashtable for keeping track of offsets 2013-03-03 23:18:29 +01:00
pack-objects.h update copyrights 2013-01-08 17:31:27 -06:00
pack.c indexer: use a hashtable for keeping track of offsets 2013-03-03 23:18:29 +01:00
pack.h indexer: use a hashtable for keeping track of offsets 2013-03-03 23:18:29 +01:00
path.c Three submodule status bug fixes 2013-03-18 17:24:13 -07:00
path.h Improved tree iterator internals 2013-03-14 13:40:15 -07:00
pathspec.c Notify '*' pathspec correctly when diffing 2013-04-11 09:59:26 +02:00
pathspec.h Notify '*' pathspec correctly when diffing 2013-04-11 09:59:26 +02:00
pool.c pool: Internal struct name 2013-03-15 12:11:02 +01:00
pool.h Improved tree iterator internals 2013-03-14 13:40:15 -07:00
posix.c Fix memory leak in p_getaddrinfo on Amiga 2013-02-15 16:01:31 -08:00
posix.h Make tree iterator handle icase equivalence 2013-03-08 16:39:57 -08:00
pqueue.c update copyrights 2013-01-08 17:31:27 -06:00
pqueue.h update copyrights 2013-01-08 17:31:27 -06:00
push.c remote: handle multiple refspecs 2013-04-20 17:54:13 +02:00
push.h Implemented push on the local transport 2013-03-11 17:32:33 -04:00
refdb_fs.c alloc doesn't take a refdb; git_refdb_free nicely in the tests 2013-04-19 18:43:17 -05:00
refdb_fs.h immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
refdb.c alloc doesn't take a refdb; git_refdb_free nicely in the tests 2013-04-19 18:43:17 -05:00
refdb.h immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
reflog.c Several warnings detected by static code analyzer fixed 2013-03-18 03:30:26 +04:00
reflog.h update copyrights 2013-01-08 17:31:27 -06:00
refs.c alloc doesn't take a refdb; git_refdb_free nicely in the tests 2013-04-19 18:43:17 -05:00
refs.h refs: Do not union the peel 2013-04-17 23:29:34 +02:00
refspec.c remote: handle multiple refspecs 2013-04-20 17:54:13 +02:00
refspec.h remote: handle multiple refspecs 2013-04-20 17:54:13 +02:00
remote.c remote: handle multiple refspecs 2013-04-20 17:54:13 +02:00
remote.h remote: handle multiple refspecs 2013-04-20 17:54:13 +02:00
repo_template.h Make mode handling during init more like git 2013-02-27 13:44:15 -08:00
repository.c repository: Add git_repository_open_bare 2013-04-17 04:46:37 +02:00
repository.h Implement global/system file search paths 2013-03-15 16:39:00 -07:00
reset.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
revparse.c Fix uninitialized var warnings 2013-04-18 14:59:25 -07:00
revwalk.c git_revision -> git_revspec 2013-04-15 23:40:46 +02:00
revwalk.h update copyrights 2013-01-08 17:31:27 -06:00
sha1_lookup.c update copyrights 2013-01-08 17:31:27 -06:00
sha1_lookup.h update copyrights 2013-01-08 17:31:27 -06:00
signature.c Return error for empty name/email 2013-04-18 00:56:42 -04:00
signature.h update copyrights 2013-01-08 17:31:27 -06:00
stash.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
status.c Implement GIT_STATUS_OPT_EXCLUDE_SUBMODULES 2013-03-25 22:19:39 -07:00
strmap.h update copyrights 2013-01-08 17:31:27 -06:00
submodule.c branch: rename 'tracking' to 'upstream' 2013-03-30 15:45:57 +01:00
submodule.h update copyrights 2013-01-08 17:31:27 -06:00
tag.c tag: Fix parsing when no tagger nor message 2013-03-31 14:36:51 +02:00
tag.h update copyrights 2013-01-08 17:31:27 -06:00
thread-utils.c update copyrights 2013-01-08 17:31:27 -06:00
thread-utils.h update copyrights 2013-01-08 17:31:27 -06:00
trace.c optional tracing 2013-03-07 12:42:33 -06:00
trace.h optional tracing 2013-03-07 12:42:33 -06:00
transport.c update copyrights 2013-01-08 17:31:27 -06:00
tree-cache.c update copyrights 2013-01-08 17:31:27 -06:00
tree-cache.h update copyrights 2013-01-08 17:31:27 -06:00
tree.c treebuilder: don't overwrite the error message 2013-04-18 14:48:40 +02:00
tree.h object: Export git_object_dup 2013-04-10 16:56:32 +02:00
tsort.c Sorting function cleanup and MinGW fix 2013-03-11 16:43:58 -07:00
util.c Fix compilation on OpenBSD 2013-04-15 20:00:42 +02:00
util.h Sorting function cleanup and MinGW fix 2013-03-11 16:43:58 -07:00
vector.c Now with no multiply 2013-01-29 16:49:12 -05:00
vector.h Merge the push report into the refs to avoid a 3rd network call 2013-02-08 15:21:37 -05:00