@matheusbsbs / matheus-bagliano / commits / 25b51e2c7f
Fork 0

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 <junkio@cox.net>

Junio C Hamano committed Feb 12, 2007 at 23:06 UTC 25b51e2c7f6fd220cee2a363297b04a246143372
1 file changed +1 -1
revision.c
+1 -1
@@ -532,7 +532,7 @@ static void handle_reflog(struct rev_info *revs, unsigned flags)
532 struct all_refs_cb cb;
533 cb.all_revs = revs;
534 cb.all_flags = flags;
535 - for_each_ref(handle_one_reflog, &cb);
535 + for_each_reflog(handle_one_reflog, &cb);
536 }
537
538 static int add_parents_only(struct rev_info *revs, const char *arg, int flags)