diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2013-05-04 16:32:58 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-05-11 11:20:38 +0200 |
| commit | 2b562c3a1edf0f521bdb7adf23e524d5a8389b15 (patch) | |
| tree | a5ac3a5b361eb21fbcf77fb4c05ce574ab194c65 /src/branch.c | |
| parent | 95727245fd4f08aa77d1077901976ab3bd7472e1 (diff) | |
| download | libgit2-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/branch.c')
| -rw-r--r-- | src/branch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/branch.c b/src/branch.c index 88f052529..74e8d843e 100644 --- a/src/branch.c +++ b/src/branch.c @@ -157,7 +157,7 @@ int git_branch_foreach( filter.branch_type = list_flags; filter.callback_payload = payload; - return git_reference_foreach(repo, GIT_REF_LISTALL, &branch_foreach_cb, (void *)&filter); + return git_reference_foreach(repo, &branch_foreach_cb, (void *)&filter); } int git_branch_move( |
