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>
This commit is contained in:
parent
7b3fab877d
commit
25b51e2c7f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user