Junio C Hamano  committed 25b51e2

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 <>

  • Participants
  • Parent commits 7b3fab8
  • Branches master

Comments (0)

Files changed (1)

 	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)