Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refs.c: add a public is_branch function
[gitweb.git]
/
refs.h
diff --git
a/refs.h
b/refs.h
index 1440acc06ce59f35d23719adef18774731efe5a4..1b223e58a19f613885da62a9441786d76b30bdf9 100644
(file)
--- a/
refs.h
+++ b/
refs.h
@@
-137,6
+137,8
@@
extern int repack_without_refs(const char **refnames, int n);
extern int ref_exists(const char *);
+extern int is_branch(const char *refname);
+
/*
* If refname is a non-symbolic reference that refers to a tag object,
* and the tag can be (recursively) dereferenced to a non-tag object,