diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-09-11 11:42:13 +0200 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-09-25 07:49:15 +0200 |
commit | 0adfa20aefcd18262214a22042d303721cc7d23a (patch) | |
tree | 11fbf058764125e09358fdcc4f778b1cbb3bdf51 /src/refs.h | |
parent | 77e06d7e8547e82336489b7cdeb04294ed3d6015 (diff) | |
download | libgit2-0adfa20aefcd18262214a22042d303721cc7d23a.tar.gz |
refspec: introduce git_refspec__parse()
Diffstat (limited to 'src/refs.h')
-rw-r--r-- | src/refs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/refs.h b/src/refs.h index 010503452..54359f07b 100644 --- a/src/refs.h +++ b/src/refs.h @@ -55,6 +55,7 @@ void git_repository__refcache_free(git_refcache *refs); int git_reference__normalize_name_lax(char *buffer_out, size_t out_size, const char *name); int git_reference__normalize_name(git_buf *buf, const char *name, unsigned int flags); +int git_reference__is_valid_name(const char *refname, unsigned int flags); int git_reference__update(git_repository *repo, const git_oid *oid, const char *ref_name); /** |