Kevin Sawicki
7eb222fc7d
Correct typos in documentation
2013-01-06 10:39:35 -08:00
Carlos Martín Nieto
3665ba8eeb
refspec: add git_refspec__free, remove git_refspec_parse
...
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.
2012-09-30 11:56:37 +02:00
Carlos Martín Nieto
14ebe51832
Expose git_refspec_parse()
...
This function has been available for some time, but never in a
header. Expose it so we can use it from outside the library.
2012-06-12 15:24:33 +02:00
nulltoken
d05e2c64dd
refspec: expose the force update specifier through git_refspec_force() accessor
2012-05-30 01:05:17 +02:00
Vicent Martí
904b67e69f
errors: Rename error codes
2012-05-18 01:48:50 +02:00
Vicent Martí
e172cf082e
errors: Rename the generic return codes
2012-05-18 01:26:26 +02:00
Sascha Cunz
0c9a5565f7
Add missing GIT_EXTERN declarations
2012-05-14 19:56:35 +02:00
Vicent Martí
3fbcac89c4
Remove old and unused error codes
2012-05-02 19:56:38 -07:00
schu
5e0de32818
Update Copyright header
...
Signed-off-by: schu <schu-github@schulog.org>
2012-02-13 17:11:09 +01:00
Vicent Marti
2cbca8b06c
include: Unify internal include strategies
...
Do not add the `git2` path to internal includes, or that will cause
an extra path dependency.
2011-11-18 01:43:27 +01:00
Vicent Marti
bb742ede3d
Cleanup legal data
...
1. The license header is technically not valid if it doesn't have a
copyright signature.
2. The COPYING file has been updated with the different licenses used in
the project.
3. The full GPLv2 header in each file annoys me.
2011-09-19 01:54:32 +03:00
David Boyce
d911172255
Standardized doxygen @return lines for int functions to say "GIT_SUCCESS or an error code".
2011-09-13 12:30:25 -04:00
Johan 't Hart
136e7129d7
On some header files, GIT_END_DECL was absent while GIT_BEGIN_DECL wasn't.
2011-07-27 00:06:19 +02:00
Vicent Marti
bdd18829ad
Cleanup external API
...
Some of the WIP API calls have been hidden in preparation for the next
minor release.
2011-07-11 02:59:18 +02:00
Vicent Marti
f27f29b100
include: Fix unmatched params in documentation
2011-07-11 02:59:17 +02:00
Carlos Martín Nieto
92cb6aa929
Add git_refspec_transform
...
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-26 18:18:11 +02:00
Carlos Martín Nieto
63f91e1ce8
Add git.git's fnmatch, which is really GNU's and the git__fnmatch wrapper
...
If the strings match, git__fnmatch returns GIT_SUCCESS and
GIT_ENOMATCH on failure to match.
MSVC fixes: Added a test for _MSC_VER and (in that case) defined
HAVE_STRING_H to 1 so it doesn't try to include <strings.h> which
doesn't exist in the MSVC world. Moved the function declarations to
use the modern inline ones so MSVC doesn't have a fit. Added casts
everywhere so MSVC doesn't crap its pants.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-26 18:18:11 +02:00
Carlos Martín Nieto
9c82357be7
Add a remotes API
...
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-26 18:18:10 +02:00