summaryrefslogtreecommitdiff
path: root/src/revwalk.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-05-04 16:32:58 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2013-05-11 11:20:38 +0200
commit2b562c3a1edf0f521bdb7adf23e524d5a8389b15 (patch)
treea5ac3a5b361eb21fbcf77fb4c05ce574ab194c65 /src/revwalk.c
parent95727245fd4f08aa77d1077901976ab3bd7472e1 (diff)
downloadlibgit2-2b562c3a1edf0f521bdb7adf23e524d5a8389b15.tar.gz
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/revwalk.c')
-rw-r--r--src/revwalk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/revwalk.c b/src/revwalk.c
index 16f06624d..528d02b20 100644
--- a/src/revwalk.c
+++ b/src/revwalk.c
@@ -186,7 +186,7 @@ static int push_glob(git_revwalk *walk, const char *glob, int hide)
data.hide = hide;
if (git_reference_foreach_glob(
- walk->repo, git_buf_cstr(&buf), GIT_REF_LISTALL, push_glob_cb, &data) < 0)
+ walk->repo, git_buf_cstr(&buf), push_glob_cb, &data) < 0)
goto on_error;
regfree(&preg);