aboutsummaryrefslogtreecommitdiffstats
path: root/refs/packed-backend.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-03-01 14:38:55 -0800
committerJunio C Hamano <gitster@pobox.com>2024-03-01 14:38:55 -0800
commit510a27e9e48ae13ebf94a71041878445aba29f8c (patch)
tree2d3d2ee8390991d5207f50308fd1a3493a3d27a9 /refs/packed-backend.c
parent221c3daef41bdd7eebd5f45d711e847d0a85aa86 (diff)
parentd699d15c328b03fd822d3950f7ed76debef02c26 (diff)
downloadgit-510a27e9e48ae13ebf94a71041878445aba29f8c.tar.gz
Merge branch 'ps/reflog-list' into HEAD
"git reflog" learned a "list" subcommand that enumerates known reflogs. * ps/reflog-list: builtin/reflog: introduce subcommand to list reflogs refs: stop resolving ref corresponding to reflogs refs: drop unused params from the reflog iterator callback refs: always treat iterators as ordered refs/files: sort merged worktree and common reflogs refs/files: sort reflogs returned by the reflog iterator dir-iterator: support iteration in sorted order dir-iterator: pass name to `prepare_next_entry_data()` directly
Diffstat (limited to 'refs/packed-backend.c')
-rw-r--r--refs/packed-backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs/packed-backend.c b/refs/packed-backend.c
index a499a91c7e..4e826c05ff 100644
--- a/refs/packed-backend.c
+++ b/refs/packed-backend.c
@@ -1111,7 +1111,7 @@ static struct ref_iterator *packed_ref_iterator_begin(
CALLOC_ARRAY(iter, 1);
ref_iterator = &iter->base;
- base_ref_iterator_init(ref_iterator, &packed_ref_iterator_vtable, 1);
+ base_ref_iterator_init(ref_iterator, &packed_ref_iterator_vtable);
if (exclude_patterns)
populate_excluded_jump_list(iter, snapshot, exclude_patterns);