summaryrefslogtreecommitdiff
path: root/src/refs.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2013-02-15 11:35:33 +0100
committernulltoken <emeric.fermas@gmail.com>2013-02-22 17:04:23 +0100
commitc1b5e8c42bca585c2bc728a0583b20095bd8c128 (patch)
treeb70cce66af1d9834bb37515a3e01167f1ab5a588 /src/refs.h
parent0309e85045bfb143c172b3342293d98d687e8092 (diff)
downloadlibgit2-c1b5e8c42bca585c2bc728a0583b20095bd8c128.tar.gz
branch: Make git_branch_remote_name() cope with orphaned heads
Diffstat (limited to 'src/refs.h')
-rw-r--r--src/refs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/refs.h b/src/refs.h
index 1228cea87..7bd1ae68a 100644
--- a/src/refs.h
+++ b/src/refs.h
@@ -70,6 +70,7 @@ int git_reference__normalize_name(git_buf *buf, const char *name, unsigned int f
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);
int git_reference__is_branch(const char *ref_name);
+int git_reference__is_remote(const char *ref_name);
/**
* Lookup a reference by name and try to resolve to an OID.