From 25b51e2c7f6fd220cee2a363297b04a246143372 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 12 Feb 2007 23:06:54 -0800 Subject: [PATCH] Do not forget to pack objects reachable from HEAD reflog. Similar to commit eb8381c8, we need to use for_each_reflog() to make sure we do not miss objects reachable from HEAD reflog. Signed-off-by: Junio C Hamano --- revision.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revision.c b/revision.c index 5bcd155e21..15bdaf6095 100644 --- a/revision.c +++ b/revision.c @@ -532,7 +532,7 @@ static void handle_reflog(struct rev_info *revs, unsigned flags) struct all_refs_cb cb; cb.all_revs = revs; cb.all_flags = flags; - for_each_ref(handle_one_reflog, &cb); + for_each_reflog(handle_one_reflog, &cb); } static int add_parents_only(struct rev_info *revs, const char *arg, int flags)