Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2011-02-10 17:08:00 +0300
committerVicent Marti <tanoku@gmail.com>2011-03-03 21:23:48 +0300
commitaa2120e9da45017c6fe0126d6e9b1ee20ff40037 (patch)
treebfd83227689fc95eb5fdfa4958d2066c121ee425 /src/refs.h
parent83403e99bae5fe415f30cc834e66c2e589ca46e0 (diff)
Added git_reference__normalize_name() along with tests.
Diffstat (limited to 'src/refs.h')
-rw-r--r--src/refs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/refs.h b/src/refs.h
index 70196aa95..2e9f340b8 100644
--- a/src/refs.h
+++ b/src/refs.h
@@ -9,6 +9,7 @@
#define GIT_REFS_DIR "refs/"
#define GIT_REFS_HEADS_DIR GIT_REFS_DIR "heads/"
#define GIT_REFS_TAGS_DIR GIT_REFS_DIR "tags/"
+#define GIT_REFS_REMOTES_DIR GIT_REFS_DIR "remotes/"
#define GIT_SYMREF "ref: "
#define GIT_PACKEDREFS_FILE "packed-refs"
@@ -37,5 +38,6 @@ typedef struct {
void git_repository__refcache_free(git_refcache *refs);
int git_repository__refcache_init(git_refcache *refs);
+int git_reference__normalize_name(char *buffer_out, const char *name, git_rtype type);
#endif