aboutsummaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-02-12 23:06:54 -0800
committerJunio C Hamano <junkio@cox.net>2007-02-12 23:06:54 -0800
commit25b51e2c7f6fd220cee2a363297b04a246143372 (patch)
treefd28e59aecae02e41767e8842611e154a8a36aae /revision.c
parent7b3fab877d468a51bab6050385ab701697301c62 (diff)
downloadgit-25b51e2c7f6fd220cee2a363297b04a246143372.tar.gz
git-25b51e2c7f6fd220cee2a363297b04a246143372.tar.xz
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>
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c
index 5bcd155e2..15bdaf609 100644
--- a/revision.c
+++ b/revision.c
@@ -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)