Staging
v0.5.1
https://github.com/git/git
Revision c2f3bf071ee90b01f2d629921bb04c4f798f02fa authored by Junio C Hamano on 21 December 2005, 08:01:00 UTC, committed by Junio C Hamano on 21 December 2005, 08:01:00 UTC
Signed-off-by: Junio C Hamano <junkio@cox.net>
2 parent s 1ed9193 + 41f93a2
Raw File
Tip revision: c2f3bf071ee90b01f2d629921bb04c4f798f02fa authored by Junio C Hamano on 21 December 2005, 08:01:00 UTC
GIT 1.0.0
Tip revision: c2f3bf0
epoch.h
#ifndef EPOCH_H
#define EPOCH_H


// return codes for emitter_func
#define STOP     0
#define CONTINUE 1
#define DO       2
typedef int (*emitter_func) (struct commit *); 

int sort_list_in_merge_order(struct commit_list *list, emitter_func emitter);

/* Low bits are used by rev-list */
#define UNINTERESTING   (1u<<10)
#define BOUNDARY        (1u<<11)
#define VISITED         (1u<<12)
#define DISCONTINUITY   (1u<<13)
#define LAST_EPOCH_FLAG (1u<<14)


#endif	/* EPOCH_H */
back to top