summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7b3fab8)
raw | patch | inline | side by side (parent: 7b3fab8)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 13 Feb 2007 07:06:54 +0000 (23:06 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 13 Feb 2007 07:06:54 +0000 (23:06 -0800) |
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>
sure we do not miss objects reachable from HEAD reflog.
Signed-off-by: Junio C Hamano <junkio@cox.net>
revision.c | patch | blob | history |
diff --git a/revision.c b/revision.c
index 5bcd155e219bfc112ef5e1776f8ea570577c7711..15bdaf6095ccbe690c664f80a5b25e354d068d61 100644 (file)
--- a/revision.c
+++ b/revision.c
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)