Revision 73c838e4c9437a0c41082c32a3a832aa385460a9 authored by Junio C Hamano on 08 January 2007, 10:08:47 UTC, committed by Junio C Hamano on 08 January 2007, 11:02:11 UTC
We used to say "you are not on a branch" before the initial
commit.  This is incorrect -- the user is on a branch yet to be
born, but its name has been already determined.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 6488610
Raw File
list-objects.h
#ifndef LIST_OBJECTS_H
#define LIST_OBJECTS_H

typedef void (*show_commit_fn)(struct commit *);
typedef void (*show_object_fn)(struct object_array_entry *);
typedef void (*show_edge_fn)(struct commit *);

void traverse_commit_list(struct rev_info *revs, show_commit_fn, show_object_fn);

void mark_edges_uninteresting(struct commit_list *, struct rev_info *, show_edge_fn);

#endif
back to top