summaryrefslogtreecommitdiff
path: root/tests-clar/network
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Don't expect the 'empty-remote-url' remote to be listed"Justin Spahr-Summers2012-11-051-2/+2
| | | | | | Apparently git_remote_list() includes even remotes for which git_remote_load() would fail. Sorry @nulltoken, false alarm. This reverts commit f358ec143c8c9952227d31cd21c24f8c9be23d3c.
* Don't expect the 'empty-remote-url' remote to be listedJustin Spahr-Summers2012-11-051-2/+2
| | | | CC @nulltoken
* Test for GITERR_INVALIDJustin Spahr-Summers2012-11-051-0/+1
|
* remote: Add malformed remote load testnulltoken2012-11-041-2/+9
|
* Improve docs, examples, warningsRussell Belfer2012-11-011-4/+1
| | | | | | This improves docs in some of the public header files, cleans up and improves some of the example code, and fixes a couple of pedantic warnings in places.
* Merge pull request #1030 from pwkelley/transportsVicent Martí2012-11-012-2/+0
|\ | | | | Reorganize transport architecture
| * Reorganize transport architecture (squashed 3)Philip Kelley2012-11-012-2/+0
| |
* | Fetch: don't clobber received countBen Straub2012-10-291-6/+5
|/ | | | | This memset was being reached after the entire packfile under WinHttp, so the byte count was being lost for small repos.
* Merge pull request #925 from nulltoken/topic/moving-branch-updates-configRussell Belfer2012-10-252-5/+227
|\ | | | | Updates config upon moving and deletion of branches
| * remote: introduce git_remote_rename()nulltoken2012-10-251-0/+201
| |
| * remote: prevent from saving a nameless remotenulltoken2012-10-251-5/+26
| |
* | Fix Windows buildBen Straub2012-10-251-1/+1
| | | | | | | | Pedantic ordering of GIT_UNUSED vs. variable declarations.
* | Merge pull request #990 from ben/clone-callbacksVicent Martí2012-10-251-3/+10
|\ \ | |/ |/| Progress callbacks
| * Remove 'bytes' param from git_remote_downloadBen Straub2012-10-241-2/+1
| |
| * Network progress: rename thingsBen Straub2012-10-241-1/+1
| | | | | | | | | | | | | | git_indexer_stats and friends -> git_transfer_progress* Also made git_transfer_progress members more sanely named.
| * Fetch/indexer: progress callbacksBen Straub2012-10-191-1/+10
| |
| * Add git_indexer_stats field to git_remoteBen Straub2012-10-191-2/+1
| | | | | | | | | | Also removing all the *stats parameters from external APIs that don't need them anymore.
* | Merge pull request #963 from carlosmn/remote-save-autotagVicent Martí2012-10-221-0/+24
|\ \ | |/ |/| Save the autotag configuration for remotes
| * remote: set/unset the autotag setting on saveCarlos Martín Nieto2012-10-021-0/+24
| | | | | | | | | | Make the configuration option match the configured behavior when saving a remote.
* | test: fix some memory leaksnulltoken2012-10-151-0/+2
| |
* | tests: add a test for tag autofollow behaviourCarlos Martín Nieto2012-10-111-0/+70
|/ | | | | Also tell ctest and valgrind to run libgit2_clar with '-iall' so we run the network tests in travis.
* refspec: add git_refspec__free, remove git_refspec_parseCarlos Martín Nieto2012-09-301-0/+1
| | | | | | | The latter shouldn't be exposed and isn't used, git_refspec__parse supersedes it. Fix a leak in the refspec tests while we're at it.
* refspec: introduce git_refspec__parse()nulltoken2012-09-251-0/+83
|
* refspec: No remote tracking ref from a fetchspec-less remotenulltoken2012-09-132-4/+4
|
* Test trailing space after ref oidJoshua Peek2012-08-091-2/+2
|
* Parse ref oids without trailing newlineJoshua Peek2012-08-091-2/+2
|
* Merge remote-tracking branch 'nulltoken/topic/branch-rework' into developmentVicent Marti2012-07-271-2/+2
|\
| * branch: introduce git_branch_tracking()nulltoken2012-07-241-2/+2
| |
* | Remotes: Use correct url in git_remote_connectSascha Cunz2012-07-271-0/+12
| |
* | Remotes: Save a cleaned pushurl (by deleting it from the config)Sascha Cunz2012-07-271-0/+9
| |
* | Tests: Test remote's pushurlSascha Cunz2012-07-261-2/+25
|/
* tests: add test commit with angle brackets in the author namenulltoken2012-07-111-2/+2
|
* notes: add test resource with faked two-level fanoutyorah2012-06-081-2/+2
|
* Merge pull request #684 from benstraub/rev-parseVicent Martí2012-06-071-2/+2
|\ | | | | Rev parse
| * Merge branch 'development' into rev-parseBen Straub2012-06-052-1/+21
| |\ | | | | | | | | | | | | | | | Conflicts: src/util.h tests-clar/refs/branches/listall.c
| * | Rebasing onto libgit2/development: cleanup.Ben Straub2012-05-111-2/+2
| | |
| * | Fixing broken tests.Ben Straub2012-05-111-2/+2
| | |
* | | tests: Fix warning with nested commentsVicent Marti2012-06-051-1/+1
| |/ |/|
* | Merge pull request #737 from nulltoken/topic/git_remote_add_refspecCarlos Martín Nieto2012-06-041-0/+11
|\ \ | | | | | | Remotes and refspecs
| * | remote: Make git_remote_add() generate a default refspec with a force update ↵nulltoken2012-06-041-0/+10
| | | | | | | | | | | | specifier
| * | refspec: expose the force update specifier through git_refspec_force() accessornulltoken2012-05-301-0/+1
| | |
* | | Add a failing test case for git_remote_disconnect/git_remote_connected.Arthur Schreiber2012-06-021-0/+9
|/ /
* | errors: Rename error codesbreaking-changesVicent Martí2012-05-181-1/+1
| |
* | errors: Rename the generic return codesVicent Martí2012-05-182-2/+2
|/
* remotes: change git_remote_new's signatureCarlos Martín Nieto2012-05-082-2/+2
| | | | | Add a fetch refspec arguemnt and make the arguments (name, url, refspec), as that order makes more sense.
* remote: add git_remote_add()Carlos Martín Nieto2012-05-081-0/+12
| | | | Helper function to create a remote with the default settings
* remote: make git_remote_load() return GIT_ENOTFOUND when the remote url ↵nulltoken2012-05-081-0/+5
| | | | cannot be retrieved from the config file
* Remove old and unused error codesVicent Martí2012-05-021-2/+2
|
* Update test suiteVicent Martí2012-05-022-16/+16
|
* Merge branch 'new-error-handling' into developmentVicent Martí2012-05-021-2/+22
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .travis.yml include/git2/diff.h src/config_file.c src/diff.c src/diff_output.c src/mwindow.c src/path.c tests-clar/clar_helpers.c tests-clar/object/tree/frompath.c tests/t00-core.c tests/t03-objwrite.c tests/t08-tag.c tests/t10-refs.c tests/t12-repo.c tests/t18-status.c tests/test_helpers.c tests/test_main.c