Skip to content

Commit

Permalink
Do not forget to pack objects reachable from HEAD reflog.
Browse files Browse the repository at this point in the history
Similar to commit eb8381c, 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>
  • Loading branch information
Junio C Hamano committed Feb 13, 2007
1 parent 7b3fab8 commit 25b51e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion revision.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 25b51e2

Please sign in to comment.