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:
authorCarlos Martín Nieto <cmn@dwim.me>2013-05-04 18:32:58 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2013-05-11 13:20:38 +0400
commit2b562c3a1edf0f521bdb7adf23e524d5a8389b15 (patch)
treea5ac3a5b361eb21fbcf77fb4c05ce574ab194c65 /src/refdb.h
parent95727245fd4f08aa77d1077901976ab3bd7472e1 (diff)
refs: remove the OID/SYMBOLIC filtering
Nobody should ever be using anything other than ALL at this level, so remove the option altogether. As part of this, git_reference_foreach_glob is now implemented in the frontend using an iterator. Backends will later regain the ability of doing the glob filtering in the backend.
Diffstat (limited to 'src/refdb.h')
-rw-r--r--src/refdb.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/refdb.h b/src/refdb.h
index a243f627c..e88dead7a 100644
--- a/src/refdb.h
+++ b/src/refdb.h
@@ -26,19 +26,6 @@ int git_refdb_lookup(
git_refdb *refdb,
const char *ref_name);
-int git_refdb_foreach(
- git_refdb *refdb,
- unsigned int list_flags,
- git_reference_foreach_cb callback,
- void *payload);
-
-int git_refdb_foreach_glob(
- git_refdb *refdb,
- const char *glob,
- unsigned int list_flags,
- git_reference_foreach_cb callback,
- void *payload);
-
int git_refdb_iterator(git_reference_iterator **out, git_refdb *db);
int git_refdb_next(const char **out, git_reference_iterator *iter);
void git_refdb_iterator_free(git_reference_iterator *iter);