diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-09-27 12:04:41 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-09-30 11:56:37 +0200 |
commit | 3665ba8eeb4f8b2546517cd208e940b128dd8a46 (patch) | |
tree | f745ef0b1c5187ee1008ae8ee2ae47090443d560 /include/git2/refspec.h | |
parent | 2af1c266415bd2030cdfef8ec170a6c135e12b75 (diff) | |
download | libgit2-3665ba8eeb4f8b2546517cd208e940b128dd8a46.tar.gz |
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.
Diffstat (limited to 'include/git2/refspec.h')
-rw-r--r-- | include/git2/refspec.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/git2/refspec.h b/include/git2/refspec.h index 9e84aad99..1100e9022 100644 --- a/include/git2/refspec.h +++ b/include/git2/refspec.h @@ -20,14 +20,6 @@ GIT_BEGIN_DECL /** - * Parse a refspec string and create a refspec object - * - * @param refspec pointer to the refspec structure to be used - * @param str the refspec as a string - */ -GIT_EXTERN(int) git_refspec_parse(git_refspec *refspec, const char *str); - -/** * Get the source specifier * * @param refspec the refspec |