Vicent Martí
3fbcac89c4
Remove old and unused error codes
2012-05-02 19:56:38 -07:00
Vicent Martí
946a6dc4e6
Update test suite
2012-05-02 16:14:30 -07:00
Vicent Martí
40879facad
Merge branch 'new-error-handling' into development
...
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
2012-05-02 15:59:02 -07:00
nulltoken
79fd42301e
transport/local: Fix peeling of nested tags
2012-04-10 21:39:01 +02:00
nulltoken
3f46f313cb
tag: Add git_tag_peel() which recursively peel a tag until a non tag git_object is met
2012-04-10 21:38:49 +02:00
Ben Straub
20ec426dde
Discovered cl_git_strequal! Mounted a crusade!
2012-03-31 19:47:59 -07:00
Ryan Wilcox
7a54496629
introduced new function: git_remote_supported_url() <-- returns true if this version of libgit2 supports the correct transport mechanism for a URL or path
2012-03-01 08:31:50 -05:00
Ryan Wilcox
58448910a0
implement support for username@host:path URLs in transport_find_fn()
2012-02-29 17:37:18 -05:00
Carlos Martín Nieto
8171998f8d
Add git_remote_list()
...
Loops through the configuration and generates a list of configured
remotes.
2012-02-26 19:15:36 +01:00
Carlos Martín Nieto
9554cd514c
A remote exists with an URL alone
...
We used to consider it an error if a remote didn't have at least a
fetch refspec. This was too much checking, as a remote doesn't in fact
need to have anything other than an URL configured to be considered
a remote.
2012-02-24 12:14:26 +01:00
Carlos Martín Nieto
89e5ed98dc
Add git_remote_save()
2012-02-20 19:48:41 +01:00
Carlos Martín Nieto
bcb8c007f1
Add git_remote_set_{fetch,push}spec()
...
Allow setting the fetch and push refspecs, which is useful for
creating new refspecs.
2012-02-20 18:42:05 +01:00
Carlos Martín Nieto
771cde4318
tests: free the remotes temp buffer
2012-02-01 04:41:42 +01:00
Carlos Martín Nieto
279afd2a51
refspec: a ref name includes the refs/ prefix
...
git_refspec_transform_r assumed that the reference name passed would
be only a branch or tag name. This is not the case, and we need to
take into consideration what's in the refspec's source to know how
much of the prefix to ignore.
2012-01-31 17:29:53 +01:00
Vicent Martí
3fd1520cd4
Rename the Clay test suite to Clar
...
Clay is the name of a programming language on the makings, and we want
to avoid confusions. Sorry for the huge diff!
2012-01-24 20:35:15 -08:00