cvsserver: Eclipse compat fixes - implement Questionable, alias rlog, add a space...
[git/repo.git] / epoch.h
blob3756009060b4cb4ea6827292ea9e36b1e32cdf43
1 #ifndef EPOCH_H
2 #define EPOCH_H
5 // return codes for emitter_func
6 #define STOP 0
7 #define CONTINUE 1
8 #define DO 2
9 typedef int (*emitter_func) (struct commit *);
11 int sort_list_in_merge_order(struct commit_list *list, emitter_func emitter);
13 /* Low bits are used by rev-list */
14 #define BOUNDARY (1u<<11)
15 #define VISITED (1u<<12)
16 #define DISCONTINUITY (1u<<13)
17 #define LAST_EPOCH_FLAG (1u<<14)
20 #endif /* EPOCH_H */